|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.zuercher.gpx2map.util.FileFormatDescriptor
public class FileFormatDescriptor
FileFormatDescriptor generically describes a file format. File formats have a name and a list of common file name extensions.
Field Summary | |
---|---|
private List<String> |
formatExtensions
A List of common extensions for files of this format. |
private String |
formatName
The file format's name. |
Constructor Summary | |
---|---|
FileFormatDescriptor(String formatName,
String... fileExtensions)
Constructs a new FileFormatDescriptor with the given name and file extension. |
Method Summary | |
---|---|
List<String> |
getFileExtensions()
Returns the common filename extensions for this format. |
String |
getFormatName()
Returns the file format's name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final String formatName
private final List<String> formatExtensions
Constructor Detail |
---|
public FileFormatDescriptor(String formatName, String... fileExtensions)
formatName
- the name of the formatfileExtensions
- the format's file extensions (e.g., ".gif")Method Detail |
---|
public String getFormatName()
public List<String> getFileExtensions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |