|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webcodepro.applecommander.storage.os.prodos.ProdosCommonEntry
com.webcodepro.applecommander.storage.os.prodos.ProdosFileEntry
com.webcodepro.applecommander.storage.os.prodos.ProdosDirectoryEntry
public class ProdosDirectoryEntry
Implement directory functionality.
Date Created: Mar 2, 2003
Field Summary |
---|
Fields inherited from class com.webcodepro.applecommander.storage.os.prodos.ProdosCommonEntry |
---|
ENTRY_LENGTH |
Constructor Summary | |
---|---|
ProdosDirectoryEntry(ProdosFormatDisk disk,
int block,
int offset,
ProdosSubdirectoryHeader subdirectoryHeader)
Constructor for ProdosDirectoryEntry. |
Method Summary | |
---|---|
boolean |
canCreateDirectories()
Identify if additional directories can be created. |
boolean |
canCreateFile()
Indicates if this disk image can create a file. |
DirectoryEntry |
createDirectory()
Create a new DirectoryEntry. |
FileEntry |
createFile()
Create a new FileEntry. |
java.util.List |
getFiles()
Retrieve the list of files in this directory. |
ProdosSubdirectoryHeader |
getSubdirectoryHeader()
Get the subdirectory header. |
Methods inherited from class com.webcodepro.applecommander.storage.os.prodos.ProdosFileEntry |
---|
canCompile, delete, getAuxiliaryType, getBlocksUsed, getEofPosition, getFileColumnData, getFileData, getFilename, getFiletype, getFiletypeByte, getFileTypeString, getHeaderPointer, getKeyPointer, getLastModificationDate, getMaximumFilenameLength, getSize, getSuggestedFilter, isAppleWorksFile, isDeleted, isDirectory, isLocked, needsAddress, setAddress, setAuxiliaryType, setAuxiliaryType, setBlocksUsed, setEofPosition, setFileData, setFilename, setFiletype, setHeaderPointer, setKeyPointer, setLastModificationDate, setLocked |
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 |
Methods inherited from interface com.webcodepro.applecommander.storage.DirectoryEntry |
---|
getFormattedDisk |
Methods inherited from interface com.webcodepro.applecommander.storage.FileEntry |
---|
getFormattedDisk |
Constructor Detail |
---|
public ProdosDirectoryEntry(ProdosFormatDisk disk, int block, int offset, ProdosSubdirectoryHeader subdirectoryHeader)
Method Detail |
---|
public ProdosSubdirectoryHeader getSubdirectoryHeader()
public java.util.List getFiles()
getFiles
in interface DirectoryEntry
public FileEntry createFile() throws DiskFullException
createFile
in interface DirectoryEntry
DiskFullException
public boolean canCreateDirectories()
canCreateDirectories
in interface DirectoryEntry
public boolean canCreateFile()
canCreateFile
in interface DirectoryEntry
public DirectoryEntry createDirectory() throws DiskFullException
createDirectory
in interface DirectoryEntry
DiskFullException
DirectoryEntry.createDirectory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |