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
-
public class ProdosSubdirectoryHeader extends ProdosCommonDirectoryHeader
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
Constructors Constructor Description ProdosSubdirectoryHeader(ProdosFormatDisk disk, int block)
Constructor for ProdosSubdirectoryHeader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
setHousekeeping()
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 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.
-
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
public void setProdosDirectoryEntry(ProdosDirectoryEntry directoryEntry)
Set the related ProDOS directory entry.
-
getProdosDirectoryEntry
public ProdosDirectoryEntry getProdosDirectoryEntry()
Get the related ProDOS directory entry.
-
setHousekeeping
public void setHousekeeping()
Set up some housekeeping bits
-
-