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, waitgetMnemonic, isNativepublic GroovyFormatter()
public GroovyFormatter(java.lang.String fileName)
public void setGroovyFileName(java.lang.String fileName)
public java.lang.String getName()
ClipboardFormattergetName in interface ClipboardFormatterpublic java.lang.String getDescription()
ClipboardFormattergetDescription in interface ClipboardFormatterpublic java.lang.String getAccelerator()
getAccelerator in interface ClipboardFormatterpublic boolean isCompatible(java.lang.Object object)
BasicFormatterisCompatible in interface BasicFormatterobject - the input to both isCompatible(...) and toString(...).public java.lang.String toString(java.lang.Object object)
BasicFormattertoString in interface BasicFormatterobject - the input to both isCompatible(...) and toString(...).