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

25 lines
970 B
Java
Raw Normal View History

2020-02-07 11:44:51 +00:00
package com.bytezone.diskbrowser.applefile;
2020-09-13 00:22:49 +00:00
import com.bytezone.diskbrowser.gui.TextPreferences;
2020-02-07 11:44:51 +00:00
2020-09-18 04:57:57 +00:00
// -----------------------------------------------------------------------------------//
2020-09-14 09:51:14 +00:00
public abstract class TextFile extends AbstractFile
2020-09-18 04:57:57 +00:00
// -----------------------------------------------------------------------------------//
2020-02-07 11:44:51 +00:00
{
2020-09-13 00:22:49 +00:00
static TextPreferences textPreferences; // set by MenuHandler
2020-02-07 11:44:51 +00:00
// ---------------------------------------------------------------------------------//
public TextFile (String name, byte[] buffer)
// ---------------------------------------------------------------------------------//
{
super (name, buffer);
}
// ---------------------------------------------------------------------------------//
2020-09-14 09:51:14 +00:00
public static void setTextPreferences (TextPreferences textPreferences)
2020-02-07 11:44:51 +00:00
// ---------------------------------------------------------------------------------//
{
2020-09-14 09:51:14 +00:00
TextFile.textPreferences = textPreferences;
2020-02-07 11:44:51 +00:00
}
2020-09-14 09:51:14 +00:00
}