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

22 lines
833 B
Java
Raw Normal View History

2016-08-06 07:17:16 +00:00
package com.bytezone.diskbrowser.applefile;
2020-02-07 11:52:46 +00:00
// -----------------------------------------------------------------------------------//
2016-08-06 07:17:16 +00:00
public class SegmentDictionary
2020-02-07 11:52:46 +00:00
// -----------------------------------------------------------------------------------//
2016-08-06 07:17:16 +00:00
{
private final boolean isValid;
2020-02-07 11:52:46 +00:00
// ---------------------------------------------------------------------------------//
2016-08-06 07:17:16 +00:00
public SegmentDictionary (String name, byte[] buffer)
2020-02-07 11:52:46 +00:00
// ---------------------------------------------------------------------------------//
2016-08-06 07:17:16 +00:00
{
isValid = !name.equals ("SYSTEM.INTERP"); // temporary
}
2020-02-07 11:52:46 +00:00
// ---------------------------------------------------------------------------------//
2016-08-06 07:17:16 +00:00
public boolean isValid ()
2020-02-07 11:52:46 +00:00
// ---------------------------------------------------------------------------------//
2016-08-06 07:17:16 +00:00
{
return isValid;
}
}