|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webcodepro.applecommander.storage.os.nakedos.NakedosFileEntry
public class NakedosFileEntry
Represents a Nakedos file entry on disk.
Date created: August 5, 2010 10:23:23 AM
Constructor Summary | |
---|---|
NakedosFileEntry(NakedosFormatDisk disk,
int fileNumber,
int size)
Constructor for NakedosFileEntry. |
Method Summary | |
---|---|
boolean |
canCompile()
Indicates that this filetype can be compiled. |
void |
delete()
Delete this file (unimplemented). |
boolean |
equals(java.lang.Object o)
|
java.util.List |
getFileColumnData(int displayMode)
Get the standard file column header information. |
byte[] |
getFileData()
Get file data. |
java.lang.String |
getFilename()
Return the name of this file. |
int |
getFileNumber()
Return the name of this file. |
java.lang.String |
getFiletype()
Return the filetype of this file. |
FormattedDisk |
getFormattedDisk()
Get the FormattedDisk associated with this FileEntry. |
int |
getMaximumFilenameLength()
Return the maximum filename length. |
int |
getSize()
Compute the size of this file (in bytes). |
FileFilter |
getSuggestedFilter()
Get the suggested FileFilter. |
boolean |
isDeleted()
Identify if this file has been deleted. |
boolean |
isDirectory()
Identify if this is a directory file. |
boolean |
isLocked()
Identify if this file is locked. |
boolean |
needsAddress()
Indicates if this filetype requires an address component. |
void |
setAddress(int address)
Set the address that this file loads at. |
void |
setFileData(byte[] data)
Set the file data. |
void |
setFilename(java.lang.String filename)
Set the name of this file. |
void |
setFiletype(java.lang.String filetype)
Set the filetype (typeless - unused) |
void |
setLocked(boolean lock)
Set the lock indicator (unused) |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NakedosFileEntry(NakedosFormatDisk disk, int fileNumber, int size)
Method Detail |
---|
public java.lang.String getFilename()
getFilename
in interface FileEntry
FileEntry.getFilename()
public int getFileNumber()
FileEntry.getFilename()
public void setFilename(java.lang.String filename)
setFilename
in interface FileEntry
public java.lang.String getFiletype()
getFiletype
in interface FileEntry
FileEntry.getFiletype()
public void setFiletype(java.lang.String filetype)
setFiletype
in interface FileEntry
public boolean isLocked()
isLocked
in interface FileEntry
FileEntry.isLocked()
public void setLocked(boolean lock)
setLocked
in interface FileEntry
public int getSize()
getSize
in interface FileEntry
FileEntry.getSize()
public boolean isDirectory()
isDirectory
in interface FileEntry
FileEntry.isDirectory()
public boolean isDeleted()
isDeleted
in interface FileEntry
FileEntry.isDeleted()
public void delete()
delete
in interface FileEntry
public java.util.List getFileColumnData(int displayMode)
getFileColumnData
in interface FileEntry
public byte[] getFileData()
getFileData
in interface FileEntry
public void setFileData(byte[] data) throws DiskFullException
setFileData
in interface FileEntry
DiskFullException
public FileFilter getSuggestedFilter()
getSuggestedFilter
in interface FileEntry
public FormattedDisk getFormattedDisk()
getFormattedDisk
in interface FileEntry
public int getMaximumFilenameLength()
getMaximumFilenameLength
in interface FileEntry
public boolean needsAddress()
needsAddress
in interface FileEntry
public void setAddress(int address)
setAddress
in interface FileEntry
public boolean canCompile()
canCompile
in interface FileEntry
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |