mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-12-01 09:50:32 +00:00
25 lines
970 B
Java
25 lines
970 B
Java
package com.bytezone.diskbrowser.applefile;
|
|
|
|
import com.bytezone.diskbrowser.gui.TextPreferences;
|
|
|
|
// -----------------------------------------------------------------------------------//
|
|
public abstract class TextFile extends AbstractFile
|
|
// -----------------------------------------------------------------------------------//
|
|
{
|
|
static TextPreferences textPreferences; // set by MenuHandler
|
|
|
|
// ---------------------------------------------------------------------------------//
|
|
public TextFile (String name, byte[] buffer)
|
|
// ---------------------------------------------------------------------------------//
|
|
{
|
|
super (name, buffer);
|
|
}
|
|
|
|
// ---------------------------------------------------------------------------------//
|
|
public static void setTextPreferences (TextPreferences textPreferences)
|
|
// ---------------------------------------------------------------------------------//
|
|
{
|
|
TextFile.textPreferences = textPreferences;
|
|
}
|
|
}
|