org.bsc.maven.plugin.processor
Class ZipFileObject
java.lang.Object
javax.tools.SimpleJavaFileObject
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 classes/interfaces inherited from interface javax.tools.JavaFileObject |
javax.tools.JavaFileObject.Kind |
| Fields inherited from class javax.tools.SimpleJavaFileObject |
kind, uri |
| Methods inherited from class javax.tools.SimpleJavaFileObject |
delete, getAccessLevel, getKind, getNestingKind, isNameCompatible, openOutputStream, openWriter, toString, toUri |
ZipFileObject
public ZipFileObject(ZipFile zipFile,
ZipEntry zipEntry,
URI uri)
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.