|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugin.text.TextAnalyzer
public class TextAnalyzer
Main class for Text-Plugin.
Modes:
Constructor Summary | |
---|---|
TextAnalyzer()
|
Method Summary | |
---|---|
boolean |
areWhitespacesIgnored()
Returns if whitespaces are ignored in letter-based mode. |
boolean |
areWordsUsed()
Returns the used mode. |
edu.umd.cs.piccolo.PNode |
getDescription()
Returns a kind of description of the actual input (e.g. a sheet of music for a midi file). |
java.lang.String |
getDirectInput()
Returns the string currently used in direct-input-mode. |
java.util.List |
getItems()
Returns a list of items, according the actual input. |
java.lang.String |
getName()
Returns the plug-ins name (e.g. |
javax.swing.JPanel |
getPanel()
Returns a "configuration panel", which can be displayed somewhere in the application. |
void |
ignoreWhitespaces(boolean bIgnSpace)
Sets if whitesspaces are ignored in letter-based mode. |
boolean |
isCaseSensitive()
|
boolean |
isDirectInputUsed()
|
boolean |
isEqual(java.lang.Object o1,
java.lang.Object o2)
Compares two objects. |
boolean |
isSoundexUsed()
Returns if SOUNDEX is used in word-based mode. |
java.lang.String |
list2String(java.util.List l)
Returns a string, according to the parameter. |
void |
setCaseSensitive(boolean b)
Sets the option "Case Sensitive", which affects both modes, letter based and word based. |
void |
setDirectInput(java.lang.String strDirectInput)
Sets the string to be used in direct-input mode. |
void |
setFile(java.io.File file)
Sets the file to be used in file-mode. |
void |
useDirectInput(boolean bDirectInput)
Sets the option "Direct Option". |
void |
useSoundex(boolean bUseSoundex)
Sets if SOUNDEX shall be used in word-based mode. |
void |
useWords(boolean bUseWords)
Switches between word-based and letter-based mode. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextAnalyzer()
Method Detail |
---|
public java.lang.String getName()
IArcPlugin
getName
in interface IArcPlugin
public javax.swing.JPanel getPanel()
IArcPlugin
getPanel
in interface IArcPlugin
public boolean isEqual(java.lang.Object o1, java.lang.Object o2)
IArcPlugin
isEqual
in interface IArcPlugin
public java.lang.String list2String(java.util.List l)
IArcPlugin
list2String
in interface IArcPlugin
l
- should be the list returned by getItems (or a part of it)public edu.umd.cs.piccolo.PNode getDescription()
IArcPlugin
getDescription
in interface IArcPlugin
public java.util.List getItems() throws java.lang.Exception
IArcPlugin
getItems
in interface IArcPlugin
java.lang.Exception
public void setFile(java.io.File file)
file
- the file to be usedpublic void setDirectInput(java.lang.String strDirectInput)
strDirectInput
- the string to be usedpublic java.lang.String getDirectInput()
public void useSoundex(boolean bUseSoundex)
bUseSoundex
- 'true' if SOUNDEX shall be used, 'false' elsepublic boolean isSoundexUsed()
public void ignoreWhitespaces(boolean bIgnSpace)
bIgnSpace
- 'true' if whitespaces shall be ignored, 'false' elsepublic boolean areWhitespacesIgnored()
public void useWords(boolean bUseWords)
bUseWords
- use word-based mode/letter-based modepublic boolean areWordsUsed()
public void useDirectInput(boolean bDirectInput)
bDirectInput
- use direct input/filesetDirectInput(String)
,
setFile(File)
public boolean isDirectInputUsed()
public void setCaseSensitive(boolean b)
b
- case sensitive/case insensitivepublic boolean isCaseSensitive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |