| 
JavaTM 2 Platform Std. Ed. v1.3.1  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.apple.mrj.datatransfer.TranslationUtils
Static utilities for converting data formats; useful when working with Transferable objects.
| Field Summary | |
static DataFlavor | 
kTypeJavaFile
Deprecated.  | 
| Method Summary | |
static byte[] | 
serializeToByteArray(Serializable ser)
Deprecated. Serializes an object into a byte[] array.  | 
static byte[] | 
toByteArray(InputStream in)
Deprecated. Reads an InputStream into a byte[] array.  | 
static byte[] | 
toByteArray(Object o)
Deprecated. Attempts to convert an object into a byte[] array.  | 
static byte[] | 
toByteArray(Reader in)
Deprecated. Reads a Reader into a byte[] array.  | 
static char[] | 
toCharArray(Reader in)
Deprecated. Reads a Reader into a char[] array.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final DataFlavor kTypeJavaFile
| Method Detail | 
public static byte[] toByteArray(InputStream in)
                          throws IOException
public static byte[] toByteArray(Reader in)
                          throws IOException
public static byte[] serializeToByteArray(Serializable ser)
                                   throws IOException
public static byte[] toByteArray(Object o)
                          throws IOException
public static char[] toCharArray(Reader in)
                          throws IOException
  | 
JavaTM 2 Platform Std. Ed. v1.3.1  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A.  All Rights Reserved.