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(java.util.zip.ZipFile zipFile, java.util.zip.ZipEntry zipEntry, java.net.URI uri)
           
 
Method Summary
static ZipFileObject create(java.util.zip.ZipFile zipFile, java.util.zip.ZipEntry entry)
           
 java.lang.CharSequence getCharContent(boolean b)
           
 long getLastModified()
           
 java.lang.String getName()
           
 java.io.InputStream openInputStream()
           
 java.io.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(java.util.zip.ZipFile zipFile,
                     java.util.zip.ZipEntry zipEntry,
                     java.net.URI uri)
Method Detail

openInputStream

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

getName

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

getCharContent

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

openReader

public java.io.Reader openReader(boolean b)
                          throws java.io.IOException
Specified by:
openReader in interface javax.tools.FileObject
Overrides:
openReader in class javax.tools.SimpleJavaFileObject
Throws:
java.io.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(java.util.zip.ZipFile zipFile,
                                   java.util.zip.ZipEntry entry)


Copyright © 2009-2013. All Rights Reserved.