Class StringOperationContributor
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
-
- org.eclipse.epsilon.eol.execute.operations.contributors.StringOperationContributor
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class StringOperationContributor extends OperationContributor
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames
-
-
Constructor Summary
Constructors Constructor Description StringOperationContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
characterAt(int index)
boolean
contributesTo(java.lang.Object target)
java.lang.String
escapeXml()
java.lang.String
firstToLowerCase()
java.lang.String
firstToUpperCase()
java.lang.String
ftlc()
java.lang.String
ftuc()
boolean
isSubstringOf(java.lang.String str)
java.lang.String
pad(int width, java.lang.String padding, boolean right)
void
setTarget(java.lang.Object target)
void
store(java.lang.String where)
java.util.List<java.lang.String>
toCharSequence()
java.lang.Object
toEnum()
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
close, findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getReflectionTarget, getTarget, includeInheritedMethods, setContext
-
-
-
-
Method Detail
-
contributesTo
public boolean contributesTo(java.lang.Object target)
- Specified by:
contributesTo
in classOperationContributor
-
toEnum
public java.lang.Object toEnum() throws java.lang.Exception
- Throws:
java.lang.Exception
-
setTarget
public void setTarget(java.lang.Object target)
- Overrides:
setTarget
in classOperationContributor
-
escapeXml
public java.lang.String escapeXml() throws java.lang.Exception
- Throws:
java.lang.Exception
-
firstToUpperCase
public java.lang.String firstToUpperCase()
-
characterAt
public java.lang.String characterAt(int index)
-
firstToLowerCase
public java.lang.String firstToLowerCase()
-
ftuc
public java.lang.String ftuc()
-
ftlc
public java.lang.String ftlc()
-
store
public void store(java.lang.String where) throws java.lang.Exception
- Throws:
java.lang.Exception
-
isSubstringOf
public boolean isSubstringOf(java.lang.String str)
-
toCharSequence
public java.util.List<java.lang.String> toCharSequence()
-
pad
public java.lang.String pad(int width, java.lang.String padding, boolean right)
-
-