|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.template.upload.IxbJarReaderBasedRequest
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private File |
handle
|
private IXBJarReader |
reader
|
private static String |
RESOURCE
|
Constructor Summary | |
IxbJarReaderBasedRequest(File jarFile)
Supported API: false |
Method Summary | |
void |
closeRequestStream(InputStream stream)
Supported API: false |
private InputStream |
computeTemplateStream(String[] fnames)
|
InputStream |
getBusinessXMLStream()
Returns the business XML for the template. |
InputStream |
getContentStream(String contentId)
returns an input stream corresponding to a content file Supported API: false |
File |
getFileHandle()
Supported API: false |
InputStream |
getFragmentStream(String fragId)
Returns a business fragment referenced in the input file Supported API: false |
private InputStream |
getStream(String name)
|
InputStream |
getTemplateStream()
Returns an input stream corresponding to XML specification of the template metada. |
private boolean |
isTemplateTag(IxbElement elem)
|
void |
releaseRequest()
Supported API: false |
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
private IXBJarReader reader
private File handle
Constructor Detail |
public IxbJarReaderBasedRequest(File jarFile)
jarFile
- Method Detail |
public InputStream getTemplateStream() throws WTException
getTemplateStream
in interface ImportTemplateRequest
WTException
public InputStream getBusinessXMLStream() throws WTException
getBusinessXMLStream
in interface ImportTemplateRequest
WTException
public InputStream getContentStream(String contentId) throws WTException
getContentStream
in interface ImportTemplateRequest
contentId
-
WTException
public InputStream getFragmentStream(String fragId) throws WTException
getFragmentStream
in interface ImportTemplateRequest
fragId
-
WTException
public void releaseRequest() throws WTException
releaseRequest
in interface ImportTemplateRequest
WTException
public void closeRequestStream(InputStream stream) throws WTException
closeRequestStream
in interface ImportTemplateRequest
stream
-
WTException
public File getFileHandle() throws WTException
getFileHandle
in interface ImportTemplateRequest
WTException
private InputStream computeTemplateStream(String[] fnames) throws WTException
WTException
private boolean isTemplateTag(IxbElement elem) throws WTException
WTException
private InputStream getStream(String name) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |