org.nhindirect.xd.common
Class XdmPackage
java.lang.Object
org.nhindirect.xd.common.XdmPackage
public class XdmPackage
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XdmPackage
public XdmPackage()
XdmPackage
public XdmPackage(String messageId)
setDocuments
public void setDocuments(DirectDocuments documents)
getDocuments
public DirectDocuments getDocuments()
toFile
public File toFile()
getIndex
public String getIndex()
throws Exception
- Throws:
Exception
getReadme
public String getReadme()
throws Exception
- Throws:
Exception
getXsl
public String getXsl()
throws Exception
- Throws:
Exception
fromXdmZipDataHandler
public static XdmPackage fromXdmZipDataHandler(DataHandler dataHandler)
throws Exception
- Throws:
Exception
fromXdmZipFile
public static XdmPackage fromXdmZipFile(File file)
throws Exception
- Throws:
Exception
getSubmissionSetDirspec
protected static String getSubmissionSetDirspec(String zipEntryName)
matchName
protected static boolean matchName(String zname,
String subsetDirspec,
String subsetFilespec)
- Given a full ZipEntry filespec, extracts the name of the folder (if
present) under the IHE_XDM root specified by IHE XDM.
- Parameters:
zipEntryName - The ZIP entry name.
- Returns:
- the name of the folder.
Copyright © 2010-2011. All Rights Reserved.