net.sf.jour.processor
Class JarFileEntry

java.lang.Object
  extended by net.sf.jour.processor.JarFileEntry
All Implemented Interfaces:
Entry

public class JarFileEntry
extends java.lang.Object
implements Entry


Constructor Summary
JarFileEntry(java.util.jar.JarFile jarFile, java.util.jar.JarEntry jarEntry)
           
 
Method Summary
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 Entry getOrigin()
           
 long getSize()
           
 long getTime()
           
 boolean isClass()
           
 boolean isDirectory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarFileEntry

public JarFileEntry(java.util.jar.JarFile jarFile,
                    java.util.jar.JarEntry jarEntry)
Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface Entry
Throws:
java.io.IOException

getOrigin

public Entry getOrigin()
Specified by:
getOrigin in interface Entry

getName

public java.lang.String getName()
Specified by:
getName in interface Entry

getSize

public long getSize()
Specified by:
getSize in interface Entry

getTime

public long getTime()
Specified by:
getTime in interface Entry

isClass

public boolean isClass()
Specified by:
isClass in interface Entry

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in interface Entry


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.