|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.template.upload.AbstractTemplateRequestFactory
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static short |
FIRST_FLAG
|
private static short |
FOURTH_FLAG
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
private static short |
SECOND_FLAG
|
(package private) static long |
serialVersionUID
|
(package private) GZIPInputStream |
stream
|
private static short |
THIRD_FLAG
|
Constructor Summary | |
AbstractTemplateRequestFactory()
|
Method Summary | |
private String |
analyzeFileContents(File f)
|
private boolean |
checkBytes(byte[] buff)
|
private String |
getFileType(File f)
|
ImportTemplateRequest |
getImportTemplateRequest(File f)
Supported API: false |
UploadTemplateRequest |
getUploadTemplateRequest(File f)
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(AbstractTemplateRequestFactory thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
validateFile(File f)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
GZIPInputStream stream
private static final short FOURTH_FLAG
private static final short THIRD_FLAG
private static final short SECOND_FLAG
private static final short FIRST_FLAG
Constructor Detail |
public AbstractTemplateRequestFactory()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(AbstractTemplateRequestFactory thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public UploadTemplateRequest getUploadTemplateRequest(File f) throws WTException
getUploadTemplateRequest
in interface TemplateRequestFactory
f
-
WTException
public ImportTemplateRequest getImportTemplateRequest(File f) throws WTException
getImportTemplateRequest
in interface TemplateRequestFactory
f
-
WTException
private String getFileType(File f) throws WTException
WTException
private String analyzeFileContents(File f) throws WTException
WTException
private boolean checkBytes(byte[] buff)
private void validateFile(File f) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |