Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


com.oracle.outsidein
Class ArchiveNode

java.lang.Object
  extended by com.oracle.outsidein.ArchiveNode


public class ArchiveNode
extends java.lang.Object

Contains information describing a node within an archive source document.

See Also:
Document.getArchiveNode(int)

Method Summary
 int getFileSize()
          Obtains the uncompressed size of this node in bytes.
 java.lang.String getNodeName()
          Obtains the name of this node including its path from the root of the parent archive.
 int getNodeNum()
          Obtains the 0-based index assigned to this node based on its order within the parent archive.
 java.util.Date getTime()
          Obtains the last modification date of this node.
 boolean isFolder()
          Determines if this node describes a folder instead of a file.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getNodeNum

public int getNodeNum()
Obtains the 0-based index assigned to this node based on its order within the parent archive.
Returns:
the index of this node

getNodeName

public java.lang.String getNodeName()
Obtains the name of this node including its path from the root of the parent archive.
Returns:
the name of this node

getFileSize

public int getFileSize()
Obtains the uncompressed size of this node in bytes.
Returns:
the size of this node in bytes

getTime

public java.util.Date getTime()
Obtains the last modification date of this node.
Returns:
the date that this node was last modified

isFolder

public boolean isFolder()
Determines if this node describes a folder instead of a file.
Returns:
whether this node is a folder

Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


Copyright © 2010, 2018, Oracle and/or its affiliates. All rights reserved.