Package org.omegat.externalfinder.item
Class ExternalFinderItem
- java.lang.Object
-
- org.omegat.externalfinder.item.ExternalFinderItem
-
public final class ExternalFinderItem extends java.lang.ObjectA data class representing an ExternalFinder "item". Immutable. UseExternalFinderItem.Builderto construct.In the original plugin, the character
_in the name was used to indicate a mnemonic; upon setting the name the mnemonic character was extracted and the_removed. We now do not modify the name, and we leave mnemonic setting up to the Mnemonics library so&is the character to use.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExternalFinderItem.Builderstatic classExternalFinderItem.ENCODINGstatic classExternalFinderItem.SCOPEstatic classExternalFinderItem.TARGET
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPLACEHOLDER_TARGET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<ExternalFinderItemCommand>getCommands()java.lang.ObjectgetContentSummary()javax.swing.KeyStrokegetKeystroke()java.lang.StringgetName()ExternalFinderItem.SCOPEgetScope()java.util.List<ExternalFinderItemURL>getURLs()inthashCode()static booleanisASCII(java.lang.String s)booleanisAsciiOnly()booleanisNonAsciiOnly()booleanisNopopup()
-
-
-
Field Detail
-
PLACEHOLDER_TARGET
public static final java.lang.String PLACEHOLDER_TARGET
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getURLs
public java.util.List<ExternalFinderItemURL> getURLs()
-
getCommands
public java.util.List<ExternalFinderItemCommand> getCommands()
-
getKeystroke
public javax.swing.KeyStroke getKeystroke()
-
isNopopup
public boolean isNopopup()
-
getScope
public ExternalFinderItem.SCOPE getScope()
-
isAsciiOnly
public boolean isAsciiOnly()
-
isNonAsciiOnly
public boolean isNonAsciiOnly()
-
isASCII
public static boolean isASCII(java.lang.String s)
-
getContentSummary
public java.lang.Object getContentSummary()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-