com.webcodepro.applecommander.storage.os.prodos
Class ProdosSubdirectoryHeader

java.lang.Object
  extended by com.webcodepro.applecommander.storage.os.prodos.ProdosCommonEntry
      extended by com.webcodepro.applecommander.storage.os.prodos.ProdosCommonDirectoryHeader
          extended by com.webcodepro.applecommander.storage.os.prodos.ProdosSubdirectoryHeader

public class ProdosSubdirectoryHeader
extends ProdosCommonDirectoryHeader

Provides commone subdirectory attributes.

Date created: Oct 5, 2002 11:17:57 PM

Author:
Rob Greene

Field Summary
 
Fields inherited from class com.webcodepro.applecommander.storage.os.prodos.ProdosCommonEntry
ENTRY_LENGTH
 
Constructor Summary
ProdosSubdirectoryHeader(ProdosFormatDisk disk, int block)
          Constructor for ProdosSubdirectoryHeader.
 
Method Summary
 int getParentEntry()
          Return the number of the file entry within the parent block.
 int getParentEntryLength()
          Return the length of the parent entry.
 int getParentPointer()
          Return the block number of the parent directory which contains the file entry for this subdirectory.
 ProdosDirectoryEntry getProdosDirectoryEntry()
          Get the related ProDOS directory entry.
 java.lang.String getSubdirectoryName()
          Return the name of this subdirectory.
 void setProdosDirectoryEntry(ProdosDirectoryEntry directoryEntry)
          Set the related ProDOS directory entry.
 
Methods inherited from class com.webcodepro.applecommander.storage.os.prodos.ProdosCommonDirectoryHeader
decrementFileCount, getBitMapPointer, getEntriesPerBlock, getEntryLength, getFileCount, getTotalBlocks, incrementFileCount, setBitMapPointer, setEntriesPerBlock, setEntryLength, setFileCount, setTotalBlocks
 
Methods inherited from class com.webcodepro.applecommander.storage.os.prodos.ProdosCommonEntry
canDestroy, canRead, canRename, canWrite, getAccess, getCreationDate, getDisk, getFileEntryBlock, getFormattedDisk, getMinimumProdosVersion, getProdosVersion, getStorageType, hasChanged, isEmpty, isSaplingFile, isSeedlingFile, isSubdirectoryHeader, isTreeFile, isVolumeHeader, readFileEntry, setAccess, setCanDestroy, setCanRead, setCanRename, setCanWrite, setCreationDate, setHasChanged, setMinimumProdosVersion, setProdosVersion, setSaplingFile, setSeedlingFile, setStorageType, setSubdirectoryHeader, setTreeFile, setVolumeHeader, writeFileEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProdosSubdirectoryHeader

public ProdosSubdirectoryHeader(ProdosFormatDisk disk,
                                int block)
Constructor for ProdosSubdirectoryHeader.

Method Detail

getSubdirectoryName

public java.lang.String getSubdirectoryName()
Return the name of this subdirectory.


getParentPointer

public int getParentPointer()
Return the block number of the parent directory which contains the file entry for this subdirectory.


getParentEntry

public int getParentEntry()
Return the number of the file entry within the parent block.


getParentEntryLength

public int getParentEntryLength()
Return the length of the parent entry.


setProdosDirectoryEntry

public void setProdosDirectoryEntry(ProdosDirectoryEntry directoryEntry)
Set the related ProDOS directory entry.


getProdosDirectoryEntry

public ProdosDirectoryEntry getProdosDirectoryEntry()
Get the related ProDOS directory entry.