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 TypeMethodDescriptionintReturn the number of the file entry within the parent block.intReturn the length of the parent entry.intReturn 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.voidSet up some housekeeping bitsvoidsetParentEntry(int entryNum) Sets the number of the file entry within the parent block.voidsetParentEntryLength(int length) Sets the number of the file entry within the parent block.voidsetParentPointer(int block) Set the block number of the parent directory which contains the file entry for this subdirectory.voidsetProdosDirectoryEntry(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, setTotalBlocksMethods 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
-