|
|||||||||||
| 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 AccessibleResourcepublic java.lang.String getKey()
getKey in interface AccessibleResourcepublic java.lang.String getName()
getName in interface AccessibleResourcepublic AccessibleArchive getArchive()
getArchive in interface AccessibleResourcepublic java.lang.String getFullPath()
getFullPath in interface AccessibleResourcepublic 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 AccessibleResourcetoString in class java.lang.Objectpublic java.lang.String toXml()
toXml in interface AccessibleResource
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||