/[classpath]/classpath/java/awt/datatransfer/DataFlavor.java
ViewVC logotype

Diff of /classpath/java/awt/datatransfer/DataFlavor.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20.2.4 by gnu_andrew, Sun Aug 7 18:34:10 2005 UTC revision 1.20.2.5 by tromey, Thu Oct 6 00:59:30 2005 UTC
# Line 146  static Line 146  static
146  private final String mimeType;  private final String mimeType;
147    
148  // The representation class for this flavor  // The representation class for this flavor
149  private final Class representationClass;  private final Class<?> representationClass;
150    
151  // The human readable name of this flavor  // The human readable name of this flavor
152  private String humanPresentableName;  private String humanPresentableName;
# Line 169  private String humanPresentableName; Line 169  private String humanPresentableName;
169   *   *
170   * @exception ClassNotFoundException If the class cannot be loaded.   * @exception ClassNotFoundException If the class cannot be loaded.
171   */   */
172  protected static final Class  protected static final Class<?>
173  tryToLoadClass(String className, ClassLoader classLoader)  tryToLoadClass(String className, ClassLoader classLoader)
174                 throws ClassNotFoundException                 throws ClassNotFoundException
175  {  {
# Line 256  DataFlavor(Class representationClass, Line 256  DataFlavor(Class representationClass,
256   * @param humanPresentableName The display name of the object.   * @param humanPresentableName The display name of the object.
257   */   */
258  public  public
259  DataFlavor(Class representationClass, String humanPresentableName)  DataFlavor(Class<?> representationClass, String humanPresentableName)
260  {  {
261      this(representationClass,      this(representationClass,
262         "application/x-java-serialized-object"         "application/x-java-serialized-object"
# Line 381  getMimeType() Line 381  getMimeType()
381   *   *
382   * @return The representation class for this flavor.   * @return The representation class for this flavor.
383   */   */
384  public Class  public Class<?>
385  getRepresentationClass()  getRepresentationClass()
386  {  {
387    return(representationClass);    return(representationClass);
# Line 885  getTextPlainUnicodeFlavor() Line 885  getTextPlainUnicodeFlavor()
885   *   *
886   * @since 1.3   * @since 1.3
887   */   */
888  public final Class  public final Class<?>
889  getDefaultRepresentationClass()  getDefaultRepresentationClass()
890  {  {
891    return(java.io.InputStream.class);    return(java.io.InputStream.class);

Legend:
Removed from v.1.20.2.4  
changed lines
  Added in v.1.20.2.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26