|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fzi.kadmos.webutils.core.KADMOSAlignmentServiceImpl
public class KADMOSAlignmentServiceImpl
Implementation of the endpoint interface KADMOSAlignmentService
.
Field Summary | |
---|---|
protected org.apache.commons.logging.Log |
logger
Logger. |
Constructor Summary | |
---|---|
KADMOSAlignmentServiceImpl()
|
Method Summary | |
---|---|
String |
align(String ontology1,
String ontology2,
String inputAlignment,
List<ArgumentType> parameters)
Implementation of the endpoint service interface KADMOSAlignmentService . |
protected String |
getAlignmentURLPrefix()
Returns URL to be prefixed to created alignment files in order to make them remotely accessible. |
protected String |
getServletContextRealPath()
Returns real path of the ServletContext. |
protected boolean |
isRemoteAccessibility(String url)
Checks whether a file represented by an URL is accessible. |
protected File |
makeFileFromAlignment(String alignment,
String fileName,
String fileType)
Creates a file of a String representing an alignment. |
protected String |
makeRemoteAccessibleFileFromAlignment(String alignment,
String fileName,
String fileType)
Creates a remotely accessible file of a String representing an alignment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.commons.logging.Log logger
Constructor Detail |
---|
public KADMOSAlignmentServiceImpl()
Method Detail |
---|
public String align(String ontology1, String ontology2, String inputAlignment, List<ArgumentType> parameters) throws KADMOSFault
KADMOSAlignmentService
.
align
in interface KADMOSAlignmentService
KADMOSFault
protected String getServletContextRealPath() throws KADMOSFault
KADMOSFault
- Exception if ServletContest in unknown.protected boolean isRemoteAccessibility(String url)
URL
- of file to be checked.
protected String makeRemoteAccessibleFileFromAlignment(String alignment, String fileName, String fileType) throws KADMOSFault
alignment
- String representing an alignment previously created.fileName
- Name of the file to be returned.fileType
- Type of the file to be returned.
KADMOSFault
- Exception thrown during file creation.protected File makeFileFromAlignment(String alignment, String fileName, String fileType) throws KADMOSFault
alignment
- String representing an alignment previously created.fileName
- Name of the file to be returned.fileType
- Type of the file to be returned.
KADMOSFault
- Exception thrown during file creation.protected String getAlignmentURLPrefix() throws KADMOSFault
KADMOSFault
- Exception thrown during creating URLPrefix.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |