| Modifier and Type | Field and Description |
|---|---|
| private Resource | |
| private boolean | |
| private int | |
| private boolean | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | ArchiveResource(File
the archive as File. a)Construct a ArchiveResource representing the specified entry in the specified archive. |
| protected | ArchiveResource(File
the archive as File. a, boolean if the entry has been specified. withEntry)Construct a ArchiveResource representing the specified entry in the specified archive. |
| protected | ArchiveResource(Resource
the archive as Resource. a, boolean if the entry has been specified. withEntry)Construct a ArchiveResource representing the specified entry in the specified archive. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addConfigured(ResourceCollection
the archive as a single element Resource collection. a)Sets the archive that holds this as a single element Resource collection. |
| protected final synchronized void | |
| public int | Returns: a negative integer, zero, or a positive integer as this Resource is less than, equal to, or greater than the specified Resource.the other Resource against which to compare. another)Overrides org. Implements java. |
| protected synchronized void | dieOnCircularReference(Stack<Object>
the stack of references to check. stk, Project the project to use to dereference the references. p)Overrides org. |
| public boolean | Returns: true if another is a Resource representing the same entry in the same archive.the other Object to compare. another)Overrides org. |
| protected abstract void | |
| public Resource | |
| public long | Returns: the last modification date.Overrides org. |
| public int | Returns: integer representation of Unix permission mask.Get the file or dir mode for this Resource. |
| protected ArchiveResource | getRef()
Overrides org. |
| public long | Returns: the long size of this Resource.Overrides org. |
| public int | Returns: hash code as int.Overrides org. |
| public boolean | Returns: boolean flag indicating whether the entry is a directory. |
| public boolean | Returns: boolean existence flag.Overrides org. |
| public void | |
| public void | setMode(int
integer representation of Unix permission mask. mode)Sets the file or dir mode for this resource. |
| public void | setRefid(Reference
the Reference to set. r)Overrides org. |
| public String | Returns: String representation of this Resource.Overrides org. |
| archive | back to summary |
|---|---|
| private Resource archive | |
| haveEntry | back to summary |
|---|---|
| private boolean haveEntry | |
| mode | back to summary |
|---|---|
| private int mode | |
| modeSet | back to summary |
|---|---|
| private boolean modeSet | |
| NULL_ARCHIVE | back to summary |
|---|---|
| private static final int NULL_ARCHIVE | |
| ArchiveResource | back to summary |
|---|---|
| protected ArchiveResource() Default constructor. | |
| ArchiveResource | back to summary |
|---|---|
| protected ArchiveResource(File a) Construct a ArchiveResource representing the specified entry in the specified archive.
| |
| ArchiveResource | back to summary |
|---|---|
| protected ArchiveResource(File a, boolean withEntry) Construct a ArchiveResource representing the specified entry in the specified archive.
| |
| ArchiveResource | back to summary |
|---|---|
| protected ArchiveResource(Resource a, boolean withEntry) Construct a ArchiveResource representing the specified entry in the specified archive.
| |
| addConfigured | back to summary |
|---|---|
| public void addConfigured(ResourceCollection a) Sets the archive that holds this as a single element Resource collection.
| |
| checkEntry | back to summary |
|---|---|
| protected final synchronized void checkEntry() throws BuildException Validate settings and ensure that the represented "archive entry" has been established. | |
| compareTo | back to summary |
|---|---|
| public int compareTo(Resource another) Overrides org. Implements java. Compare this ArchiveResource to another Resource. | |
| dieOnCircularReference | back to summary |
|---|---|
| protected synchronized void dieOnCircularReference(Stack<Object> stk, Project p) Overrides org. Doc from org. Check to see whether any DataType we hold references to is included in the Stack (which holds all DataType instances that directly or indirectly reference this instance, including this instance itself). If one is included, throw a BuildException created by This implementation is appropriate only for a DataType that cannot hold other DataTypes as children. The general contract of this method is that it shouldn't do
anything if | |
| equals | back to summary |
|---|---|
| public boolean equals(Object another) Overrides org. Compare another Object to this ArchiveResource for equality. | |
| fetchEntry | back to summary |
|---|---|
| protected abstract void fetchEntry() Fetch information from the named entry inside the archive. | |
| getArchive | back to summary |
|---|---|
| public Resource getArchive() Get the archive that holds this Resource.
| |
| getLastModified | back to summary |
|---|---|
| public long getLastModified() Overrides org. Get the last modified date of this Resource.
| |
| getMode | back to summary |
|---|---|
| public int getMode() Get the file or dir mode for this Resource.
| |
| getRef | back to summary |
|---|---|
| protected ArchiveResource getRef() Overrides org. Doc from org. Perform the check for circular references and return the referenced Resource.
| |
| getSize | back to summary |
|---|---|
| public long getSize() Overrides org. Get the size of this Resource.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Get the hash code for this Resource.
| |
| isDirectory | back to summary |
|---|---|
| public boolean isDirectory() Overrides org. Learn whether this Resource represents a directory.
| |
| isExists | back to summary |
|---|---|
| public boolean isExists() Overrides org. Find out whether this Resource represents an existing Resource.
| |
| setArchive | back to summary |
|---|---|
| public void setArchive(File a) Set the archive that holds this Resource.
| |
| setMode | back to summary |
|---|---|
| public void setMode(int mode) Sets the file or dir mode for this resource.
| |
| setRefid | back to summary |
|---|---|
| public void setRefid(Reference r) Overrides org. Overrides the super version. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Format this Resource as a String. | |