|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.plugin.TextReader
public class TextReader
This plugin opens a tab-delimeted text file as an image.
Field Summary | |
---|---|
(package private) int |
chars
|
(package private) java.lang.String |
directory
|
(package private) boolean |
hideErrorMessages
|
(package private) int |
lines
|
(package private) java.lang.String |
name
|
(package private) java.lang.String |
path
|
(package private) int |
width
|
(package private) int |
words
|
Constructor Summary | |
---|---|
TextReader()
|
Method Summary | |
---|---|
(package private) void |
countLines(java.io.Reader r)
|
java.lang.String |
getName()
Returns the file name. |
void |
hideErrorMessages()
|
ImageProcessor |
open()
Displays a file open dialog and opens the specified text file as a float image. |
ImageProcessor |
open(java.lang.String path)
Opens the specified text file as a float image. |
(package private) void |
read(java.io.Reader r,
int size,
float[] pixels)
|
void |
run(java.lang.String arg)
This method is called when the plugin is loaded. |
(package private) boolean |
showDialog()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int words
int chars
int lines
int width
java.lang.String directory
java.lang.String name
java.lang.String path
boolean hideErrorMessages
Constructor Detail |
---|
public TextReader()
Method Detail |
---|
public void run(java.lang.String arg)
PlugIn
run
in interface PlugIn
boolean showDialog()
public ImageProcessor open()
public ImageProcessor open(java.lang.String path)
public void hideErrorMessages()
public java.lang.String getName()
void countLines(java.io.Reader r) throws java.io.IOException
java.io.IOException
void read(java.io.Reader r, int size, float[] pixels) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |