Top Inners Fields Constructors Methods
com.sun.glass.ui.mac

pack-priv Class MacSystemClipboard

extends SystemClipboard
Class Inheritance
Known Direct Subclasses
com.sun.glass.ui.mac.MacDnDClipboard
Imports
java.net.URI, .URISyntaxException, java.nio.ByteBuffer, .IntBuffer, java.nio.file.FileSystems, java.util.ArrayList, .HashMap, .List, .Map, com.sun.glass.ui.Application, .Clipboard, .Pixels, .SystemClipboard

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final String
private static final String
pack-priv static final String
pack-priv final MacPasteboard
pack-priv long
pack-priv static final boolean
pack-priv static final boolean
pack-priv static final boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static native String
private URI
createUri(String path, String message)

private HashMap<String, Object>
private Object
protected boolean
protected String[]
protected Object
protected void
protected void
pushToSystem(HashMap<String, Object> data, int supportedActions)

Implements abstract com.sun.glass.ui.SystemClipboard.pushToSystem.

private List<HashMap<String, Object>>
putToItemList(String[] items, boolean excludeComments)

private byte[]
serialize(Object object)

protected int
public String
toString()

Overrides com.sun.glass.ui.SystemClipboard.toString.

Returns a string representation of the object.

Inherited from com.sun.glass.ui.SystemClipboard:
flushgetDatagetLocalDatagetMimeTypesgetSupportedSourceActionssetTargetAction

Field Detail

BAD_URI_MSGback to summary
private static final String BAD_URI_MSG
BAD_URL_MSGback to summary
private static final String BAD_URL_MSG
FILE_SCHEMEback to summary
pack-priv static final String FILE_SCHEME
pasteboardback to summary
pack-priv final MacPasteboard pasteboard
seedback to summary
pack-priv long seed
SUPPORT_10_5_APIback to summary
pack-priv static final boolean SUPPORT_10_5_API
SUPPORT_10_5_API_FORCEback to summary
pack-priv static final boolean SUPPORT_10_5_API_FORCE
SUPPORT_10_6_APIback to summary
pack-priv static final boolean SUPPORT_10_6_API

Constructor Detail

MacSystemClipboardback to summary
public MacSystemClipboard(String name)

Method Detail

_convertFileReferencePathback to summary
private static native String _convertFileReferencePath(String path)
createUriback to summary
private URI createUri(String path, String message)
getItemFromURIStringback to summary
private HashMap<String, Object> getItemFromURIString(String string)
getObjectFromListback to summary
private Object getObjectFromList(List<?> list)
isOwnerback to summary
protected boolean isOwner()

Implements abstract com.sun.glass.ui.SystemClipboard.isOwner.

Annotations
@Override
mimesFromSystemback to summary
protected String[] mimesFromSystem()

Implements abstract com.sun.glass.ui.SystemClipboard.mimesFromSystem.

Annotations
@Override
popFromSystemback to summary
protected Object popFromSystem(String mime)

Implements abstract com.sun.glass.ui.SystemClipboard.popFromSystem.

Annotations
@Override
pushTargetActionToSystemback to summary
protected void pushTargetActionToSystem(int actionDone)

Implements abstract com.sun.glass.ui.SystemClipboard.pushTargetActionToSystem.

Annotations
@Override
pushToSystemback to summary
protected void pushToSystem(HashMap<String, Object> data, int supportedActions)

Implements abstract com.sun.glass.ui.SystemClipboard.pushToSystem.

Annotations
@Override
putToItemListback to summary
private List<HashMap<String, Object>> putToItemList(String[] items, boolean excludeComments)
serializeback to summary
private byte[] serialize(Object object)
supportedSourceActionsFromSystemback to summary
protected int supportedSourceActionsFromSystem()

Implements abstract com.sun.glass.ui.SystemClipboard.supportedSourceActionsFromSystem.

Annotations
@Override
toStringback to summary
public String toString()

Overrides com.sun.glass.ui.SystemClipboard.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
com.sun.glass.ui.mac back to summary

private Class MacSystemClipboard.FormatEncoder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final String
private static final Map<String, String>
private static final Map<String, String>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static native String
private static native String
public static synchronized String
public static synchronized String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DYNAMIC_UTI_PREFIXback to summary
private static final String DYNAMIC_UTI_PREFIX
mtuback to summary
private static final Map<String, String> mtu
utmback to summary
private static final Map<String, String> utm

Constructor Detail

FormatEncoderback to summary
private FormatEncoder()

Method Detail

_convertMIMEtoUTIback to summary
private static native String _convertMIMEtoUTI(String mime)
_convertUTItoMIMEback to summary
private static native String _convertUTItoMIME(String uti)
mimeToUtfback to summary
public static synchronized String mimeToUtf(String mime)
utfToMimeback to summary
public static synchronized String utfToMime(String uti)