mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 08:30:35 +00:00
Migrated some subdirectory entry specific code into
ProdosDirectoryEntry.
This commit is contained in:
parent
a554f8e8ec
commit
9b65d39df5
@ -32,9 +32,6 @@ import java.util.List;
|
||||
* @author: Rob Greene
|
||||
*/
|
||||
public class ProdosFileEntry extends ProdosCommonEntry implements FileEntry {
|
||||
private List files;
|
||||
private ProdosSubdirectoryHeader subdirectoryHeader;
|
||||
|
||||
/**
|
||||
* Constructor for ProdosFileEntry.
|
||||
*/
|
||||
@ -285,24 +282,6 @@ public class ProdosFileEntry extends ProdosCommonEntry implements FileEntry {
|
||||
return getStorageType() == 0x0d;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the list of files in this directory.
|
||||
* Note that if this is not a directory, the return
|
||||
* value should be null. If this a directory, the
|
||||
* return value should always be a list - a directory
|
||||
* with 0 entries returns an empty list.
|
||||
*/
|
||||
public List getFiles() {
|
||||
return files;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the list of files.
|
||||
*/
|
||||
public void setFiles(List files) {
|
||||
this.files = files;
|
||||
}
|
||||
|
||||
/**
|
||||
* Identify if this file has been deleted.
|
||||
*/
|
||||
@ -318,20 +297,6 @@ public class ProdosFileEntry extends ProdosCommonEntry implements FileEntry {
|
||||
setStorageType(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the subdirectory header.
|
||||
*/
|
||||
public void setSubdirectoryHeader(ProdosSubdirectoryHeader subdirectoryHeader) {
|
||||
this.subdirectoryHeader = subdirectoryHeader;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the subdirectory header.
|
||||
*/
|
||||
public ProdosSubdirectoryHeader getSubdirectoryHeader() {
|
||||
return this.subdirectoryHeader;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the standard file column header information.
|
||||
* This default implementation is intended only for standard mode.
|
||||
|
Loading…
Reference in New Issue
Block a user