com.github.stephenc.javaisotools.iso9660
Interface ISO9660HierarchyObject

All Superinterfaces:
Cloneable, Comparable
All Known Implementing Classes:
ISO9660Directory, ISO9660File, ISO9660RootDirectory

public interface ISO9660HierarchyObject
extends Cloneable, Comparable


Method Summary
 Object getID()
          Returns an Object identifying this hierarchy object
 String getISOPath()
          Returns the path from the root to this hierarchy object with each path component separated by File.separator so that its length represents the ISO 9660 path length
 String getName()
          Returns the name of the hierarchy object
 ISO9660Directory getParentDirectory()
          Returns the parent directory of this hierarchy object
 ISO9660RootDirectory getRoot()
          Returns the root of the directory hierarchy
 boolean isDirectory()
          Returns whether the hierarchy object is a directory
 void setName(String name)
          Set the name of the hierarchy object
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

String getName()
Returns the name of the hierarchy object

Returns:
Name

getRoot

ISO9660RootDirectory getRoot()
Returns the root of the directory hierarchy

Returns:
Root

isDirectory

boolean isDirectory()
Returns whether the hierarchy object is a directory

Returns:
Whether this is a directory

setName

void setName(String name)
Set the name of the hierarchy object

Parameters:
name - Name

getParentDirectory

ISO9660Directory getParentDirectory()
Returns the parent directory of this hierarchy object

Returns:
Parent directory

getISOPath

String getISOPath()
Returns the path from the root to this hierarchy object with each path component separated by File.separator so that its length represents the ISO 9660 path length

Returns:
Path

getID

Object getID()
Returns an Object identifying this hierarchy object

Returns:
Identifying Object


Copyright © 2013. All Rights Reserved.