jodd.io.findfile
Class ClassFinder.EntryData

java.lang.Object
  extended by jodd.io.findfile.ClassFinder.EntryData
Enclosing class:
ClassFinder

protected static class ClassFinder.EntryData
extends java.lang.Object

Provides input stream on demand. Input stream is not open until get().


Method Summary
 java.lang.String getArchiveName()
          Returns archive name or null if entry is not inside archived file.
 java.lang.String getName()
          Returns entry name.
 boolean isArchive()
          Returns true if archive.
 java.io.InputStream openInputStream()
          Opens zip entry or plain file and returns its input stream.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns entry name.


isArchive

public boolean isArchive()
Returns true if archive.


getArchiveName

public java.lang.String getArchiveName()
Returns archive name or null if entry is not inside archived file.


openInputStream

public java.io.InputStream openInputStream()
Opens zip entry or plain file and returns its input stream.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2012 Jodd Team