dmolony-DiskBrowser/src/com/bytezone/diskbrowser/applefile/AppleFileSource.java

34 lines
907 B
Java
Raw Normal View History

2015-06-01 09:35:51 +00:00
package com.bytezone.diskbrowser.applefile;
import java.util.List;
import com.bytezone.diskbrowser.disk.DiskAddress;
import com.bytezone.diskbrowser.disk.FormattedDisk;
import com.bytezone.diskbrowser.gui.DataSource;
public interface AppleFileSource
{
2016-02-25 21:49:22 +00:00
/*
* Returns a name that uniquely identifies this object within the disk.
*/
public String getUniqueName ();
2015-06-01 09:35:51 +00:00
2016-02-25 21:49:22 +00:00
/*
* DataSource is implemented by AbstractSector and AbstractFile, and provides
* routines to display the data in various formats (text, hex, assembler and
* image).
*/
public DataSource getDataSource ();
2015-06-01 09:35:51 +00:00
2016-02-25 21:49:22 +00:00
/*
* Returns a list of sectors used by this object.
*/
public List<DiskAddress> getSectors ();
2015-06-01 09:35:51 +00:00
2016-02-25 21:49:22 +00:00
/*
* Returns the actual FormattedDisk that owns this object.
*/
public FormattedDisk getFormattedDisk ();
public boolean contains (DiskAddress diskAddress);
2015-06-01 09:35:51 +00:00
}