|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.conversions.implementations.Test_2_Conversion
public class Test_2_Conversion
Constructor Summary | |
---|---|
Test_2_Conversion()
|
Method Summary | |
---|---|
char[] |
getDifferentCharacters()
This method returns all possible different characters that occur after the conversion of a sequence. |
java.lang.String |
getName()
Returns the name of conversion. |
int |
getNumberOfDifferentCharacters()
This method returns the number of different characters present in the final representation after a conversion on a sequence has occured (excluding the 'N' character). |
java.lang.String |
getParamName()
Returns the parameter name of the conversion. |
static void |
main(java.lang.String[] args)
|
java.lang.String |
makeConversion(java.lang.String s)
This method performs the actual conversion from one string to another. |
boolean |
setOptions(java.lang.String[] args)
This method sets the possible options for this conversion. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Test_2_Conversion()
Method Detail |
---|
public java.lang.String getName()
getName
in interface Conversion
public java.lang.String makeConversion(java.lang.String s)
makeConversion
in interface Conversion
s
- The original sequence
public boolean setOptions(java.lang.String[] args)
setOptions
in interface Conversion
args
- The possible options (name+value)
public java.lang.String getParamName()
getParamName
in interface Conversion
public int getNumberOfDifferentCharacters()
getNumberOfDifferentCharacters
in interface Conversion
public char[] getDifferentCharacters()
getDifferentCharacters
in interface Conversion
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |