Class ProdosSubdirectoryHeader
java.lang.Object
com.webcodepro.applecommander.storage.os.prodos.ProdosCommonEntry
com.webcodepro.applecommander.storage.os.prodos.ProdosCommonDirectoryHeader
com.webcodepro.applecommander.storage.os.prodos.ProdosSubdirectoryHeader
Provides common subdirectory attributes.
Date created: Oct 5, 2002 11:17:57 PM
-
Field Summary
Fields inherited from class com.webcodepro.applecommander.storage.os.prodos.ProdosCommonEntry
ENTRY_LENGTH
-
Constructor Summary
ConstructorsConstructorDescriptionProdosSubdirectoryHeader
(ProdosFormatDisk disk, int block) Constructor for ProdosSubdirectoryHeader. -
Method Summary
Modifier and TypeMethodDescriptionint
Return the number of the file entry within the parent block.int
Return the length of the parent entry.int
Return the block number of the parent directory which contains the file entry for this subdirectory.Get the related ProDOS directory entry.Return the name of this subdirectory.void
Set up some housekeeping bitsvoid
setParentEntry
(int entryNum) Sets the number of the file entry within the parent block.void
setParentEntryLength
(int length) Sets the number of the file entry within the parent block.void
setParentPointer
(int block) Set the block number of the parent directory which contains the file entry for 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, isSubdirectory, isSubdirectoryHeader, isTreeFile, isVolumeHeader, readFileEntry, setAccess, setCanDestroy, setCanRead, setCanRename, setCanWrite, setCreationDate, setHasChanged, setMinimumProdosVersion, setProdosVersion, setSaplingFile, setSeedlingFile, setStorageType, setSubdirectory, setSubdirectoryHeader, setTreeFile, setVolumeHeader, writeFileEntry
-
Constructor Details
-
ProdosSubdirectoryHeader
Constructor for ProdosSubdirectoryHeader.
-
-
Method Details
-
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. -
setParentPointer
public void setParentPointer(int block) Set 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. -
setParentEntry
public void setParentEntry(int entryNum) Sets the number of the file entry within the parent block. -
getParentEntryLength
public int getParentEntryLength()Return the length of the parent entry. -
setParentEntryLength
public void setParentEntryLength(int length) Sets the number of the file entry within the parent block. -
setProdosDirectoryEntry
Set the related ProDOS directory entry. -
getProdosDirectoryEntry
Get the related ProDOS directory entry. -
setHousekeeping
public void setHousekeeping()Set up some housekeeping bits
-