new utilities package

This commit is contained in:
Denis Molony 2016-02-25 08:11:14 +11:00
parent c8060d49c6
commit 8afac62b00
78 changed files with 87 additions and 81 deletions

View File

@ -5,8 +5,8 @@ import java.awt.image.BufferedImage;
import javax.swing.JComponent;
import javax.swing.JPanel;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public abstract class AbstractFile implements DataSource
{

View File

@ -9,8 +9,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.gui.DiskBrowser;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class AssemblerProgram extends AbstractFile
{

View File

@ -3,7 +3,7 @@ package com.bytezone.diskbrowser.applefile;
import java.util.Arrays;
import java.util.Comparator;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class AssemblerStatement
{

View File

@ -2,7 +2,7 @@ package com.bytezone.diskbrowser.applefile;
import java.util.*;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class BasicProgram extends AbstractFile
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.applefile;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class Charset extends AbstractFile
{

View File

@ -7,7 +7,7 @@ import java.io.IOException;
import javax.imageio.ImageIO;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class HiResImage extends AbstractFile
{

View File

@ -3,7 +3,7 @@ package com.bytezone.diskbrowser.applefile;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class IconFile extends AbstractFile
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.applefile;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class IntegerBasicProgram extends AbstractFile
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.applefile;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class LodeRunner extends AbstractFile
{

View File

@ -4,7 +4,7 @@ import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class PascalCode extends AbstractFile implements PascalConstants, Iterable<PascalSegment>
{

View File

@ -3,7 +3,7 @@ package com.bytezone.diskbrowser.applefile;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class PascalCodeStatement implements PascalConstants
{

View File

@ -3,8 +3,8 @@ package com.bytezone.diskbrowser.applefile;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.PascalCodeStatement.Jump;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class PascalProcedure
{

View File

@ -3,8 +3,8 @@ package com.bytezone.diskbrowser.applefile;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.FileFormatException;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.FileFormatException;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class PascalSegment extends AbstractFile implements PascalConstants
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.applefile;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class ShapeTable extends AbstractFile
{

View File

@ -3,7 +3,7 @@ package com.bytezone.diskbrowser.applefile;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class SimpleText2 extends AbstractFile
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.applefile;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class StoredVariables extends AbstractFile
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.applefile;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
// only used by Prodos text files - note the fixed block size of 512 - bad!
public class TextBuffer

View File

@ -2,7 +2,7 @@ package com.bytezone.diskbrowser.applefile;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class TextFile extends AbstractFile
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.applefile;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class VisicalcFile extends AbstractFile
{

View File

@ -11,8 +11,8 @@ import java.util.TreeMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.VisicalcSpreadsheet.VisicalcCell;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class VisicalcSpreadsheet implements Iterable<VisicalcCell>
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.applefile;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class WizardryTitle extends AbstractFile
{

View File

@ -3,8 +3,8 @@ package com.bytezone.diskbrowser.appleworks;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class AppleworksADBFile extends AbstractFile
{

View File

@ -3,8 +3,8 @@ package com.bytezone.diskbrowser.appleworks;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class AppleworksSSFile extends AbstractFile
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.appleworks;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class CellAddress
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.appleworks;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class CellConstant extends Cell
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.appleworks;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class CellFormula
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.appleworks;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class CellLabel extends Cell
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.appleworks;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class CellValue extends Cell
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.appleworks;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
abstract class Report
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.cpm;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class DirectoryEntry
{
@ -25,6 +25,12 @@ public class DirectoryEntry
System.arraycopy (buffer, offset + 16, blockList, 0, 16);
}
public boolean matches (DirectoryEntry directoryEntry)
{
return userNumber == directoryEntry.userNumber && name.equals (directoryEntry.name)
&& type.equals (directoryEntry.type);
}
@Override
public String toString ()
{

View File

@ -5,9 +5,9 @@ import java.awt.image.BufferedImage;
import javax.swing.JComponent;
import javax.swing.JPanel;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AssemblerProgram;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public abstract class AbstractSector implements DataSource
{

View File

@ -14,9 +14,9 @@ import java.util.zip.CRC32;
import java.util.zip.Checksum;
import com.bytezone.common.Utility;
import com.bytezone.diskbrowser.FileFormatException;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AppleFileSource;
import com.bytezone.diskbrowser.utilities.FileFormatException;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class AppleDisk implements Disk
{

View File

@ -5,8 +5,8 @@ import java.awt.image.BufferedImage;
import javax.swing.JComponent;
import javax.swing.JPanel;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class DefaultDataSource implements DataSource
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.disk;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class DefaultSector extends AbstractSector
{

View File

@ -9,13 +9,13 @@ import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.zip.GZIPInputStream;
import com.bytezone.diskbrowser.FileFormatException;
import com.bytezone.diskbrowser.NuFX;
import com.bytezone.diskbrowser.cpm.CPMDisk;
import com.bytezone.diskbrowser.dos.DosDisk;
import com.bytezone.diskbrowser.infocom.InfocomDisk;
import com.bytezone.diskbrowser.pascal.PascalDisk;
import com.bytezone.diskbrowser.prodos.ProdosDisk;
import com.bytezone.diskbrowser.utilities.FileFormatException;
import com.bytezone.diskbrowser.utilities.NuFX;
import com.bytezone.diskbrowser.wizardry.WizardryScenarioDisk;
public class DiskFactory

View File

@ -3,13 +3,13 @@ package com.bytezone.diskbrowser.dos;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.*;
import com.bytezone.diskbrowser.disk.Disk;
import com.bytezone.diskbrowser.disk.DiskAddress;
import com.bytezone.diskbrowser.disk.FormattedDisk;
import com.bytezone.diskbrowser.dos.DosDisk.FileType;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.utilities.HexFormatter;
abstract class AbstractCatalogEntry implements AppleFileSource
{

View File

@ -1,8 +1,8 @@
package com.bytezone.diskbrowser.dos;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.disk.DiskAddress;
import com.bytezone.diskbrowser.dos.DosDisk.FileType;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class CatalogEntry extends AbstractCatalogEntry
{

View File

@ -1,8 +1,8 @@
package com.bytezone.diskbrowser.dos;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.disk.AbstractSector;
import com.bytezone.diskbrowser.disk.Disk;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class DosCatalogSector extends AbstractSector
{

View File

@ -1,9 +1,9 @@
package com.bytezone.diskbrowser.dos;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.disk.AbstractSector;
import com.bytezone.diskbrowser.disk.Disk;
import com.bytezone.diskbrowser.disk.DiskAddress;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class DosTSListSector extends AbstractSector
{

View File

@ -1,8 +1,8 @@
package com.bytezone.diskbrowser.dos;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.disk.AbstractSector;
import com.bytezone.diskbrowser.disk.Disk;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class DosVTOCSector extends AbstractSector
{

View File

@ -22,11 +22,11 @@ import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeCellRenderer;
import javax.swing.tree.DefaultTreeModel;
import com.bytezone.diskbrowser.FileFormatException;
import com.bytezone.diskbrowser.disk.AppleDisk;
import com.bytezone.diskbrowser.disk.Disk;
import com.bytezone.diskbrowser.disk.DiskFactory;
import com.bytezone.diskbrowser.disk.FormattedDisk;
import com.bytezone.diskbrowser.utilities.FileFormatException;
public class TreeBuilder
{

View File

@ -6,10 +6,10 @@ import java.util.TreeMap;
import javax.swing.tree.DefaultMutableTreeNode;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.disk.DefaultAppleFileSource;
import com.bytezone.diskbrowser.disk.FormattedDisk;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class CodeManager extends AbstractFile
{

View File

@ -5,8 +5,8 @@ import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class Dictionary extends AbstractFile
{

View File

@ -2,7 +2,7 @@ package com.bytezone.diskbrowser.infocom;
import java.util.*;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class Grammar extends InfocomAbstractFile
{

View File

@ -3,8 +3,8 @@ package com.bytezone.diskbrowser.infocom;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class InfocomAbstractFile extends AbstractFile
{

View File

@ -11,10 +11,10 @@ import java.util.List;
import javax.swing.JOptionPane;
import javax.swing.tree.DefaultMutableTreeNode;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AppleFileSource;
import com.bytezone.diskbrowser.disk.*;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class InfocomDisk extends AbstractFormattedDisk
{

View File

@ -3,7 +3,7 @@ package com.bytezone.diskbrowser.infocom;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class Instruction
{

View File

@ -3,8 +3,8 @@ package com.bytezone.diskbrowser.infocom;
import java.util.Map;
import java.util.TreeMap;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class StringManager extends AbstractFile
{

View File

@ -4,8 +4,8 @@ import java.util.ArrayList;
import java.util.BitSet;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class ZObject extends AbstractFile
{

View File

@ -3,9 +3,9 @@ package com.bytezone.diskbrowser.pascal;
import java.text.DateFormat;
import java.util.GregorianCalendar;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.disk.AbstractSector;
import com.bytezone.diskbrowser.disk.Disk;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class PascalCatalogSector extends AbstractSector
{

View File

@ -8,10 +8,10 @@ import java.util.List;
import javax.swing.tree.DefaultMutableTreeNode;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.*;
import com.bytezone.diskbrowser.disk.*;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class PascalDisk extends AbstractFormattedDisk
{

View File

@ -4,11 +4,11 @@ import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AppleFileSource;
import com.bytezone.diskbrowser.disk.Disk;
import com.bytezone.diskbrowser.disk.DiskAddress;
import com.bytezone.diskbrowser.disk.FormattedDisk;
import com.bytezone.diskbrowser.utilities.HexFormatter;
abstract class CatalogEntry implements AppleFileSource
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.prodos;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
abstract class DirectoryHeader extends CatalogEntry
{

View File

@ -4,13 +4,13 @@ import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.*;
import com.bytezone.diskbrowser.appleworks.AppleworksADBFile;
import com.bytezone.diskbrowser.appleworks.AppleworksSSFile;
import com.bytezone.diskbrowser.appleworks.AppleworksWPFile;
import com.bytezone.diskbrowser.disk.DiskAddress;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.utilities.HexFormatter;
// - Set sector types for each used sector
// - Populate dataBlocks, indexBlocks, catalogBlock and masterIndexBlock

View File

@ -4,9 +4,9 @@ import static com.bytezone.diskbrowser.prodos.ProdosConstants.*;
import java.util.GregorianCalendar;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.disk.AbstractSector;
import com.bytezone.diskbrowser.disk.Disk;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class ProdosCatalogSector extends AbstractSector
{

View File

@ -2,9 +2,9 @@ package com.bytezone.diskbrowser.prodos;
import java.util.GregorianCalendar;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.disk.FormattedDisk;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class ProdosDirectory extends AbstractFile
{

View File

@ -8,11 +8,11 @@ import java.util.List;
import javax.swing.tree.DefaultMutableTreeNode;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AppleFileSource;
import com.bytezone.diskbrowser.applefile.BootSector;
import com.bytezone.diskbrowser.disk.*;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.utilities.HexFormatter;
public class ProdosDisk extends AbstractFormattedDisk
{

View File

@ -1,8 +1,8 @@
package com.bytezone.diskbrowser.prodos;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.disk.AbstractSector;
import com.bytezone.diskbrowser.disk.Disk;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class ProdosIndexSector extends AbstractSector
{

View File

@ -2,9 +2,9 @@ package com.bytezone.diskbrowser.prodos;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.disk.DiskAddress;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class SubDirectoryHeader extends DirectoryHeader
{

View File

@ -3,9 +3,9 @@ package com.bytezone.diskbrowser.prodos;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.disk.DiskAddress;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.utilities.HexFormatter;
/*
* There is only one of these - it is always the first entry in the first block.

View File

@ -1,4 +1,4 @@
package com.bytezone.diskbrowser;
package com.bytezone.diskbrowser.utilities;
class DateTime
{

View File

@ -1,4 +1,4 @@
package com.bytezone.diskbrowser;
package com.bytezone.diskbrowser.utilities;
public class FileFormatException extends RuntimeException
{

View File

@ -1,4 +1,4 @@
package com.bytezone.diskbrowser;
package com.bytezone.diskbrowser.utilities;
import java.math.BigDecimal;
import java.math.MathContext;

View File

@ -1,4 +1,4 @@
package com.bytezone.diskbrowser;
package com.bytezone.diskbrowser.utilities;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.bytezone.diskbrowser;
package com.bytezone.diskbrowser.utilities;
import java.util.Objects;

View File

@ -1,4 +1,4 @@
package com.bytezone.diskbrowser;
package com.bytezone.diskbrowser.utilities;
import java.util.Objects;

View File

@ -1,4 +1,4 @@
package com.bytezone.diskbrowser;
package com.bytezone.diskbrowser.utilities;
import java.io.IOException;
import java.nio.file.Files;

View File

@ -1,4 +1,4 @@
package com.bytezone.diskbrowser;
package com.bytezone.diskbrowser.utilities;
import com.bytezone.common.Utility;

View File

@ -5,8 +5,8 @@ import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class Character extends AbstractFile
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.wizardry;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class CodedMessage extends Message
{

View File

@ -1,7 +1,7 @@
package com.bytezone.diskbrowser.wizardry;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class ExperienceLevel extends AbstractFile
{

View File

@ -5,12 +5,12 @@ import java.util.List;
import javax.swing.tree.DefaultMutableTreeNode;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AppleFileSource;
import com.bytezone.diskbrowser.applefile.DefaultAppleFile;
import com.bytezone.diskbrowser.disk.DefaultAppleFileSource;
import com.bytezone.diskbrowser.disk.DiskAddress;
import com.bytezone.diskbrowser.disk.FormattedDisk;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class Header
{

View File

@ -1,7 +1,7 @@
package com.bytezone.diskbrowser.wizardry;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class Item extends AbstractFile implements Comparable<Item>
{

View File

@ -5,7 +5,7 @@ import java.awt.Dimension;
import java.awt.Graphics2D;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class MazeCell
{

View File

@ -6,8 +6,8 @@ import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class MazeLevel extends AbstractFile
{

View File

@ -4,8 +4,8 @@ import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.List;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class Monster extends AbstractFile implements Comparable<Monster>
{

View File

@ -1,6 +1,6 @@
package com.bytezone.diskbrowser.wizardry;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.utilities.HexFormatter;
class PlainMessage extends Message
{

View File

@ -7,12 +7,12 @@ import java.util.List;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeModel;
import com.bytezone.diskbrowser.HexFormatter;
import com.bytezone.diskbrowser.applefile.AbstractFile;
import com.bytezone.diskbrowser.applefile.AppleFileSource;
import com.bytezone.diskbrowser.disk.*;
import com.bytezone.diskbrowser.gui.DataSource;
import com.bytezone.diskbrowser.pascal.PascalDisk;
import com.bytezone.diskbrowser.utilities.HexFormatter;
import com.bytezone.diskbrowser.wizardry.Character.Attributes;
import com.bytezone.diskbrowser.wizardry.Character.Statistics;
import com.bytezone.diskbrowser.wizardry.Header.ScenarioData;