public final class GroovyFormatter extends java.lang.Object implements ClipboardFormatter
Constructor and Description |
---|
GroovyFormatter() |
GroovyFormatter(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccelerator() |
java.lang.String |
getDescription()
The description of this formatter.
|
java.lang.String |
getName()
The name of this formatter.
|
boolean |
isCompatible(java.lang.Object object)
Returns true, if this formatter is able to format the given object into a String.
|
void |
setGroovyFileName(java.lang.String fileName) |
java.lang.String |
toString(java.lang.Object object)
Returns the object formatted into a String or null if this formatter is unable to format the object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMnemonic, isNative
public GroovyFormatter()
public GroovyFormatter(java.lang.String fileName)
public void setGroovyFileName(java.lang.String fileName)
public java.lang.String getName()
ClipboardFormatter
getName
in interface ClipboardFormatter
public java.lang.String getDescription()
ClipboardFormatter
getDescription
in interface ClipboardFormatter
public java.lang.String getAccelerator()
getAccelerator
in interface ClipboardFormatter
public boolean isCompatible(java.lang.Object object)
BasicFormatter
isCompatible
in interface BasicFormatter
object
- the input to both isCompatible(...) and toString(...).public java.lang.String toString(java.lang.Object object)
BasicFormatter
toString
in interface BasicFormatter
object
- the input to both isCompatible(...) and toString(...).