public class FileFormatDescription extends Object
Constructor and Description |
---|
FileFormatDescription(String id,
String extension) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static <C extends FileFormatDescription> |
getFormat(Class<C> cl,
String id)
Retrieve a subclassing format by ID.
|
static FileFormatDescription |
getFormat(String id)
Retrieve a format by id.
|
static <C extends FileFormatDescription> |
getFormats(Class<C> cl)
Retrieve all formats of a given subclass.
|
String |
toString() |
public static FileFormatDescription getFormat(String id)
id
- a format identifierpublic static <C extends FileFormatDescription> C getFormat(Class<C> cl, String id)
cl
- id
- public static <C extends FileFormatDescription> Collection<C> getFormats(Class<C> cl)
cl
- Copyright © 2005–2020. All rights reserved.