mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-03-13 03:34:47 +00:00
Added a reference to the related ProdosDirectoryEntry class.
This commit is contained in:
parent
9b65d39df5
commit
db798f69cd
@ -26,6 +26,7 @@ package com.webcodepro.applecommander.storage;
|
|||||||
* @author: Rob Greene
|
* @author: Rob Greene
|
||||||
*/
|
*/
|
||||||
public class ProdosSubdirectoryHeader extends ProdosCommonDirectoryHeader {
|
public class ProdosSubdirectoryHeader extends ProdosCommonDirectoryHeader {
|
||||||
|
private ProdosDirectoryEntry directoryEntry;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor for ProdosSubdirectoryHeader.
|
* Constructor for ProdosSubdirectoryHeader.
|
||||||
@ -63,4 +64,18 @@ public class ProdosSubdirectoryHeader extends ProdosCommonDirectoryHeader {
|
|||||||
public int getParentEntryLength() {
|
public int getParentEntryLength() {
|
||||||
return AppleUtil.getWordValue(readFileEntry(), 0x26);
|
return AppleUtil.getWordValue(readFileEntry(), 0x26);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the related ProDOS directory entry.
|
||||||
|
*/
|
||||||
|
public void setProdosDirectoryEntry(ProdosDirectoryEntry directoryEntry) {
|
||||||
|
this.directoryEntry = directoryEntry;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the related ProDOS directory entry.
|
||||||
|
*/
|
||||||
|
public ProdosDirectoryEntry getProdosDirectoryEntry() {
|
||||||
|
return directoryEntry;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user