de.erichseifert.gral.io
Class IOCapabilities

java.lang.Object
  extended by de.erichseifert.gral.io.IOCapabilities

public class IOCapabilities
extends Object

Class that stores information on a DrawableWriter.


Constructor Summary
IOCapabilities(String format, String name, String mimeType, String... extensions)
          Creates a new IOCapabilities object with the specified format, name, MIME-Type and filename extensions.
 
Method Summary
 String[] getExtensions()
          Returns an array with Strings containing all possible filename extensions.
 String getFormat()
          Returns the format.
 String getMimeType()
          Returns the MIME-Type of the format.
 String getName()
          Returns the name of the format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOCapabilities

public IOCapabilities(String format,
                      String name,
                      String mimeType,
                      String... extensions)
Creates a new IOCapabilities object with the specified format, name, MIME-Type and filename extensions.

Parameters:
format - Format.
name - Name.
mimeType - MIME-Type
extensions - Extensions.
Method Detail

getFormat

public String getFormat()
Returns the format.

Returns:
Format.

getName

public String getName()
Returns the name of the format.

Returns:
Name.

getMimeType

public String getMimeType()
Returns the MIME-Type of the format.

Returns:
Format.

getExtensions

public String[] getExtensions()
Returns an array with Strings containing all possible filename extensions.

Returns:
Filename Extensions.


Copyright © 2009-2010. All Rights Reserved.