Inheritance diagram for StubTransfer::
Public Methods | |
StubTransfer (String type, String name, String ior) | |
String | getName () |
String | getType () |
String | getIOR () |
synchronized DataFlavor[] | getTransferDataFlavors () |
boolean | isDataFlavorSupported (DataFlavor flavor) |
synchronized Object | getTransferData (DataFlavor flavor) throws UnsupportedFlavorException, IOException |
Protected Methods | |
abstract DataFlavor | getFlavor () |
|
00023 { 00024 _type = type; 00025 _name = name; 00026 _ior = ior; 00027 } |
|
Reimplemented from StubDescription.
00030 { 00031 return _name; 00032 } |
|
Reimplemented from StubDescription.
00035 { 00036 return _type; 00037 } |
|
Reimplemented from StubDescription.
00040 { 00041 return _ior; 00042 } |
|
Reimplemented in ObjectTransfer.
00045 { 00046 return new DataFlavor[] { getFlavor() }; 00047 } |
|
Reimplemented in ObjectTransfer.
00050 { 00051 return flavor.equals(getFlavor()); 00052 } |
|
00056 { 00057 if(isDataFlavorSupported(flavor)) 00058 return this; 00059 else 00060 throw new UnsupportedFlavorException(flavor); 00061 } |
|
Reimplemented in AppTransfer, and ObjectTransfer. |