Package org.bsc.maven.plugin.processor
Class ZipFileObject
- java.lang.Object
-
- javax.tools.SimpleJavaFileObject
-
- org.bsc.maven.plugin.processor.ZipFileObject
-
- All Implemented Interfaces:
FileObject,JavaFileObject
public class ZipFileObject extends SimpleJavaFileObject
- Author:
- Heiko Braun
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.tools.JavaFileObject
JavaFileObject.Kind
-
-
Field Summary
-
Fields inherited from class javax.tools.SimpleJavaFileObject
kind, uri
-
-
Constructor Summary
Constructors Constructor Description ZipFileObject(ZipFile zipFile, ZipEntry zipEntry, URI uri)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZipFileObjectcreate(ZipFile zipFile, ZipEntry entry)CharSequencegetCharContent(boolean b)longgetLastModified()StringgetName()InputStreamopenInputStream()ReaderopenReader(boolean b)-
Methods inherited from class javax.tools.SimpleJavaFileObject
delete, getAccessLevel, getKind, getNestingKind, isNameCompatible, openOutputStream, openWriter, toString, toUri
-
-
-
-
Method Detail
-
openInputStream
public InputStream openInputStream() throws IOException
- Specified by:
openInputStreamin interfaceFileObject- Overrides:
openInputStreamin classSimpleJavaFileObject- Throws:
IOException
-
getName
public String getName()
- Specified by:
getNamein interfaceFileObject- Overrides:
getNamein classSimpleJavaFileObject
-
getCharContent
public CharSequence getCharContent(boolean b) throws IOException
- Specified by:
getCharContentin interfaceFileObject- Overrides:
getCharContentin classSimpleJavaFileObject- Throws:
IOException
-
openReader
public Reader openReader(boolean b) throws IOException
- Specified by:
openReaderin interfaceFileObject- Overrides:
openReaderin classSimpleJavaFileObject- Throws:
IOException
-
getLastModified
public long getLastModified()
- Specified by:
getLastModifiedin interfaceFileObject- Overrides:
getLastModifiedin classSimpleJavaFileObject
-
create
public static ZipFileObject create(ZipFile zipFile, ZipEntry entry)
-
-