public class SMRTViewUpdater
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
host_name |
protected java.lang.String |
httpport |
protected boolean |
isVerbose |
protected static java.lang.String |
JNLP_EXTENSION |
protected static java.lang.String |
JNLP_HOST_NAME_TAG |
protected static java.lang.String |
JNLP_HTTPPORT_NAME_TAG |
protected static java.lang.String |
JNLP_JOB_METADATA_TAG |
protected static java.lang.String |
JNLP_TEMPLATE |
protected static java.lang.String |
JNLP_V11_METADATA_END_TAG |
protected static java.lang.String |
JNLP_V11_METADATA_START_TAG |
protected static java.lang.String |
JNLP_v12_VERSION |
protected static java.lang.String |
JNLP_v12_VERSION_TAG |
protected static java.lang.String |
JNLP_VERSION_TAG |
protected static java.lang.String |
OLD_EXTENSION |
Constructor and Description |
---|
SMRTViewUpdater(java.lang.String host_name,
java.lang.String httpport,
boolean isVerbose) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
createNewJNLPFromOldVersion(java.lang.String jnlp_v12_template,
java.lang.String jnlp_v11) |
static void |
main(java.lang.String[] args) |
protected static void |
printUsage()
Print usage string
|
protected java.lang.String |
readJNLPTemplateFromResource(java.lang.String name)
Retrieves the jnlp template from the jar file
|
protected void |
updateJNLPFile(java.io.File file)
Processes single vis.jnlp file
|
protected java.lang.String |
updateJNLPTemplateHostTags(java.lang.String jnlp_template)
Updates hostname, httpport and version tags
|
void |
visitAllFiles(java.io.File file)
Processes all vis.jnlp files under directory
|
protected static final java.lang.String JNLP_EXTENSION
protected static final java.lang.String OLD_EXTENSION
protected static final java.lang.String JNLP_TEMPLATE
protected static final java.lang.String JNLP_JOB_METADATA_TAG
protected static final java.lang.String JNLP_HOST_NAME_TAG
protected static final java.lang.String JNLP_HTTPPORT_NAME_TAG
protected static final java.lang.String JNLP_VERSION_TAG
protected static final java.lang.String JNLP_v12_VERSION
protected static final java.lang.String JNLP_v12_VERSION_TAG
protected static final java.lang.String JNLP_V11_METADATA_START_TAG
protected static final java.lang.String JNLP_V11_METADATA_END_TAG
protected java.lang.String host_name
protected java.lang.String httpport
protected boolean isVerbose
public SMRTViewUpdater(java.lang.String host_name, java.lang.String httpport, boolean isVerbose)
public static void main(java.lang.String[] args)
args
- protected static void printUsage()
public void visitAllFiles(java.io.File file)
file
- protected void updateJNLPFile(java.io.File file)
file
- protected java.lang.String updateJNLPTemplateHostTags(java.lang.String jnlp_template)
jnlp_template
- input templateprotected java.lang.String readJNLPTemplateFromResource(java.lang.String name)
name
- path to jnlp template in jar fileprotected java.lang.String createNewJNLPFromOldVersion(java.lang.String jnlp_v12_template, java.lang.String jnlp_v11)
jnlp_v12_template
- jnlp_v11
- Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.