Added a reference to the related ProdosDirectoryEntry class.

This commit is contained in:
Robert Greene 2003-03-06 03:58:22 +00:00
parent 9b65d39df5
commit db798f69cd
1 changed files with 15 additions and 0 deletions

View File

@ -26,6 +26,7 @@ package com.webcodepro.applecommander.storage;
* @author: Rob Greene
*/
public class ProdosSubdirectoryHeader extends ProdosCommonDirectoryHeader {
private ProdosDirectoryEntry directoryEntry;
/**
* Constructor for ProdosSubdirectoryHeader.
@ -63,4 +64,18 @@ public class ProdosSubdirectoryHeader extends ProdosCommonDirectoryHeader {
public int getParentEntryLength() {
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;
}
}