|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OODocType>
com.antelmann.ooffice.OODocType
public enum OODocType
supported OpenOffice document types
OOWriter,
OOCalc| Enum Constant Summary | |
|---|---|
CALC
|
|
DRAWING
|
|
WRITER
|
|
| Method Summary | |
|---|---|
Class<?> |
getDocumentClass()
returns the document class for loading a document of this kind |
String |
getFileExtension()
|
String |
getTypeString()
used as a url to create a new document of the given type |
static OODocType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OODocType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OODocType WRITER
public static final OODocType CALC
public static final OODocType DRAWING
| Method Detail |
|---|
public static OODocType[] values()
for (OODocType c : OODocType.values()) System.out.println(c);
public static OODocType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getTypeString()
public Class<?> getDocumentClass()
public String getFileExtension()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||