org.bsc.maven.plugin.processor
Class ZipFileObject

java.lang.Object
  extended by javax.tools.SimpleJavaFileObject
      extended by org.bsc.maven.plugin.processor.ZipFileObject
All Implemented Interfaces:
javax.tools.FileObject, javax.tools.JavaFileObject

public class ZipFileObject
extends javax.tools.SimpleJavaFileObject

Author:
Heiko Braun

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.tools.JavaFileObject
javax.tools.JavaFileObject.Kind
 
Field Summary
 
Fields inherited from class javax.tools.SimpleJavaFileObject
kind, uri
 
Constructor Summary
ZipFileObject(ZipFile zipFile, ZipEntry zipEntry, URI uri)
           
 
Method Summary
static ZipFileObject create(ZipFile zipFile, ZipEntry entry)
           
 CharSequence getCharContent(boolean b)
           
 long getLastModified()
           
 String getName()
           
 InputStream openInputStream()
           
 Reader openReader(boolean b)
           
 
Methods inherited from class javax.tools.SimpleJavaFileObject
delete, getAccessLevel, getKind, getNestingKind, isNameCompatible, openOutputStream, openWriter, toString, toUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZipFileObject

public ZipFileObject(ZipFile zipFile,
                     ZipEntry zipEntry,
                     URI uri)
Method Detail

openInputStream

public InputStream openInputStream()
                            throws IOException
Specified by:
openInputStream in interface javax.tools.FileObject
Overrides:
openInputStream in class javax.tools.SimpleJavaFileObject
Throws:
IOException

getName

public String getName()
Specified by:
getName in interface javax.tools.FileObject
Overrides:
getName in class javax.tools.SimpleJavaFileObject

getCharContent

public CharSequence getCharContent(boolean b)
                            throws IOException
Specified by:
getCharContent in interface javax.tools.FileObject
Overrides:
getCharContent in class javax.tools.SimpleJavaFileObject
Throws:
IOException

openReader

public Reader openReader(boolean b)
                  throws IOException
Specified by:
openReader in interface javax.tools.FileObject
Overrides:
openReader in class javax.tools.SimpleJavaFileObject
Throws:
IOException

getLastModified

public long getLastModified()
Specified by:
getLastModified in interface javax.tools.FileObject
Overrides:
getLastModified in class javax.tools.SimpleJavaFileObject

create

public static ZipFileObject create(ZipFile zipFile,
                                   ZipEntry entry)


Copyright © 2009-2013. All Rights Reserved.