|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.naftulin.classpathexplorer.dublicate.imlp.AccessibleArchive
Representing an archive which is a directory or jar (zip).
Method Summary | |
abstract AccessibleResource[] |
getAccessibleResources()
Returns all of the resources in this archive or directory. |
AccessibleArchive |
getArchive()
Returns the archive the resource is located in. |
java.lang.String |
getFullPath()
Returns the path for the resource. |
java.lang.String |
getKey()
Returns the path, since for archives key is the path. |
long |
getLastModified()
Returns the last modified Date as long |
java.lang.String |
getName()
Returns the name of the archive. |
java.lang.String |
getPath()
Returns the path for the resource. |
java.lang.String |
toString()
Supplies part of the toString implementation for the overwriting classes |
java.lang.String |
toXml()
Supplies part of the toXml implementation for the overwriting classes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getPath()
getPath
in interface AccessibleResource
public java.lang.String getKey()
getKey
in interface AccessibleResource
public java.lang.String getName()
getName
in interface AccessibleResource
public AccessibleArchive getArchive()
getArchive
in interface AccessibleResource
public java.lang.String getFullPath()
getFullPath
in interface AccessibleResource
public long getLastModified()
getLastModified
in interface AccessibleResource
public abstract AccessibleResource[] getAccessibleResources() throws java.io.IOException
java.io.IOException
- if an error occurs while reading the content of
the archive or the directory.public java.lang.String toString()
toString
in interface AccessibleResource
toString
in class java.lang.Object
public java.lang.String toXml()
toXml
in interface AccessibleResource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |