|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for Analyze filters.
FilterInterface F = (FilterInterface) new Filter() ;
System.out.println(F.getName()) ;
System.out.println(F.getDecription()) ;
int AlphabetSize = F.getAlphabetSize() ;
F.setFrame(SuperFrame) ; // A frame to put popup windows in.
F.setArray(Buffer, N) ;
Vector Out = F.getVector() ;
| Method Summary | |
java.lang.String |
getAlignment()
Gets the XML parameter align (alignment) for the output Objects. |
int |
getAlphabetSize()
Gets the alphabet size of the output Objects, 0 for a non-alphabetic filter. |
java.lang.String |
getDescription()
Gets a description of the filter. |
java.lang.String |
getDirection()
Gets the XML parameter dir (direction) for the output Objects. |
java.lang.String |
getInputFontName()
Gets the font name for typed input text. |
java.util.Locale |
getInputLocale()
Gets the locale (language, country, and variant) for typed input text. |
java.lang.String |
getName()
Gets the name of the filter. |
java.lang.String |
getPosition(java.lang.Object[] Data,
int Text,
int Index)
Gets the position, represented as a String, from the Object[] produced by the filter. |
java.lang.String |
getStyle()
Gets the XML parameter style for the output Objects. |
java.util.Vector |
getVector()
Gets the filtered output array. |
boolean |
isPrunable()
Indicates if the filtered text is prunable. |
void |
setArray(byte[] InputArray,
int Length)
Sets the input byte array. |
void |
setFrame(java.awt.Frame F)
Sets the program Frame so that the filter can popup its own windows, called before the setArray method is called. |
| Method Detail |
public void setFrame(java.awt.Frame F)
F - Frame to put warning messages or controls in.
public void setArray(byte[] InputArray,
int Length)
InputArray - byte[] giving input byte array.Length - int giving number of bytes in InputArray.public java.util.Vector getVector()
public java.lang.String getName()
public java.lang.String getDescription()
public int getAlphabetSize()
public java.lang.String getStyle()
public java.lang.String getPosition(java.lang.Object[] Data,
int Text,
int Index)
return Integer.toString(Text) + "." + Integer.toString(Index) ;
Data - Object[] of Vectors giving Objects.Text - int index of Data Vector containing the text.Index - int giving position of Object within Data Vector.
public java.lang.String getDirection()
public java.lang.String getAlignment()
public java.util.Locale getInputLocale()
public java.lang.String getInputFontName()
public boolean isPrunable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||