Uses of Class
org.cdlib.mrt.utility.TException
Packages that use TException
Package
Description
-
Uses of TException in org.cdlib.mrt.cloud
Methods in org.cdlib.mrt.cloud that throw TExceptionModifier and TypeMethodDescriptionvoidprotected voidManifestStr.addComponent(FileComponent component) VersionData.addComponentFile(int versionID, File versionDir, FileComponent component) intVersionData.addComponentsList(int versionID, File versionDir) protected voidManifestStr.addObject()protected voidVersionMap.addTest(int versionID, int outVersionID) voidVersionMap.addVersion(List<FileComponent> components) protected voidManifestStr.addVersions()intVersionMap.buildAddManifest(String fileURLS, int versionID, File addManifest) Create an add Manifest in File addManifestintVersionData.buildContent()static voidManifestStr.buildManifest(VersionMap versionMap, File outFile) static voidManifestStr.buildManifest(VersionMap versionMap, OutputStream outStream) intVersionData.buildManifests()static ManInfoVersionMap.buildManInfo(int versionID, DateState created, List<FileComponent> components) static VersionMapManifestSAX.buildMap(InputStream inStream, LoggerInf logger) voidMatchMap.compare()intVersionData.copyContent(String copyStorageBase, int copyNode, Identifier copyObjectID) VersionData.copyVersion(StorageAddClient client, String copyStorageBase, int copyNode, Identifier copyObjectID, File versionManifest) voidVersionMap.deleteCurrent()voidVersionMap.fillComponent(FileComponent manifestComponent) VersionMap.getFileComponent(int versionID, String fileID) static VersionMapGet version map from manifext URLstatic ArrayList<FileComponent> VersionMap.getMergeComponents(List<FileComponent> updateComponents, List<FileComponent> currentComponents, String[] deleteList) VersionMap.getMergeInfo(ManInfo update, String[] deleteList) VersionMap.getMergeInfoOriginal(ManInfo update, String[] deleteList) static FileVersionMapUtil.getOutputFile(File outDir, String fileID) static List<FileComponent> VersionMapUtil.getVersion(VersionMap map, int versionID) Get component information from version mapstatic intVersionMapUtil.getVersionFiles(VersionMap map, int versionID, String baseURL, File outputDir) Fill in the outputDir file directory with the content from this versionstatic VersionMapVersionMap.getVersionMap(String manifestXMLUrlS) Get version map from manifext URLVersionMap.getVersionStats(int versionID) booleanVersionMap.isMatch(VersionMap testMap) booleanVersionMap.isMatch(FileComponent matchComponent, FileComponent manifestComponent) booleanVersionMap.isMatchComponents(List<FileComponent> components, List<FileComponent> tcomponents) booleanVersionMap.isThisSubset(VersionMap testMap) Is testMap VersionMap a subset of this.versionMapstatic voidstatic voidManifestSAX.mainOriginal(String[] args) static voidManifestSAX.mainTestBadMan(String[] args) voidManifestSAX.process(InputStream input) voidVersionData.saveComponentContent(int versionID, File componentFile, String id, String name) voidVersionMap.setCloudComponent(FileComponent manifestComponent, boolean doFill) voidManInfo.setComponents(int versionID, List<FileComponent> componentList) protected voidVersionMap.stubFromManList(ManInfo manInfo, int stubVersion) protected voidVersionMap.stubFromVersions(int stubVersion) voidVersionMap.stubVersion(int stubVersion) voidVersionMap.updateVersion(List<FileComponent> components, String[] deleteList) protected voidVersionMap.validateManInfo(ManInfo info) voidVersionMap.validateVersion()Constructors in org.cdlib.mrt.cloud that throw TExceptionModifierConstructorDescriptionManifestSAX(LoggerInf logger) ManifestStr(VersionMap versionMap, File outFile) ManifestStr(VersionMap versionMap, OutputStream outStream) MatchMap(VersionMap mapOne, VersionMap mapTwo, LoggerInf logger) VersionData(URL manifestXML, File outputDir, LoggerInf logger) VersionData(VersionMap map, File outputDir, LoggerInf logger) VersionData(Identifier objectID, String storageBase, int node, File outputDir, LoggerInf logger) VersionMap(VersionMap inMap) VersionMap(Identifier objectID, LoggerInf logger) -
Uses of TException in org.cdlib.mrt.core
Methods in org.cdlib.mrt.core that return TExceptionModifier and TypeMethodDescriptionComponentContent.makeGeneralTException(LoggerInf logger, String msg, Exception ex) create TException and do appropriate loggerstatic TExceptionValidateStorageCmdParms.setException(String header) Methods in org.cdlib.mrt.core that throw TExceptionModifier and TypeMethodDescriptionvoidFileComponent.addMessageDigest(String digest, String algorithmS) Save a new MessageDigest for this fileStorageAddClient.addVersion(String link, int nodeID, Identifier objectID, String localContext, String localID, String manifestS, String urlS, Long size, String type, String value, String formatType, int timeout, int retry) StorageAddClient.addVersion(String link, String nodeIDS, String objectIDS, String localContext, String localID, String manifestS, String urlS, String validate, String formatType) voidComponentContent.buildComponents(Manifest manifest, InputStream manifestInputStream) From a post manifest InputStream Return a VersionContent objectstatic StringDataciteConvert.dataCite2dc(String dataCite, LoggerInf logger) Convert DataCite format to standard dcstatic StringDC.dataCite2dc(String dataCite, LoggerInf logger) Convert DataCite format to standard dcstatic voidprotected IntegerCheckm.getCol(Checkm.ColMap val) From column content type get column positionstatic StringCheckm.getColumns(String header) static LinkedHashListBuild a LinkedHashList containing DC values extracted from METSstatic voidDC.getDCFromModsMets(LinkedHashList<String, String> returnList, Document mets, LoggerInf logger) From a DOM METS containing MODS return list of DC valuesstatic String[]ManifestRowCheckmAbs.getHeaders(String outputProfile, String[] profiles, String[] columns) protected static intValidateStorageCmdParms.getInteger(String header, String value) Convert String to numeric and throw exception if invalidCheckm.getLine(FileComponent fileComponent) Build output manifest line from fileComponentManifestRowCheckmAbs.getLine()ManifestRowInf.getLine()Build a Manifest line for output to a manifest filestatic ManifestManifest.getManifest(LoggerInf logger, String profile, ManifestRowAbs.ManifestType rowType) Manifest Factorystatic ManifestManifest.getManifest(LoggerInf logger, ManifestRowAbs.ManifestType rowType) Manifest Factorystatic ManifestRowInfManifestRowAbs.getManifestRow(ManifestRowAbs.ManifestType type, String outputProfile, LoggerInf logger) Based on ManifestRow type return requested ManifestRow handlerstatic ManifestRowInfManifestRowAbs.getManifestRow(ManifestRowAbs.ManifestType type, LoggerInf logger) Based on ManifestRow type return requested ManifestRow handlerManifestRowAdd.getManifestRow()ManifestRowBatch.getManifestRow()abstract ManifestRowCheckmAbsManifestRowCheckmAbs.getManifestRow()ManifestRowCheckmAbs.getManifestRow(String line) ManifestRowInf.getManifestRow(String line) Get ManifestRow object based on passed lineManifestRowIngest.getManifestRow()ManifestRowObject.getManifestRow()org.apache.tika.mime.MediaTypeTika.getMediaType(File componentFile) Return MediaType just using Fileorg.apache.tika.mime.MediaTypeTika.getMediaType(InputStream componentStream, String filenameWithExtension) Returns a tika Media based on the input stream and file Extensionstatic voidExtract DC from METSstatic voidExtract DC from METSstatic StringDC.getMetsMods(Document mets, LoggerInf logger) Create a MODS xml extracting from METSTika.getMimeType(File componentFile) Get mime type using just a FileTika.getMimeType(InputStream componentStream, String fileID) static LinkedHashList<String, String> From a string DC build list of DC valuesstatic ManifestBuild.PropInfoManifestBuild.getPostManifest(String fileURLS, File sourceDir, File postManifest) Build a POST manifeststatic ManifestBuild.PropInfoManifestBuild.getPostManifest(String fileURLS, File sourceDir, File postManifest, LoggerInf logger) Build a POST manifeststatic Stringstatic StringCheckm.getProfile(String header) Enumeration handlingManifest.getRows(InputStream inputStream) Enumeration handlingstatic ThreadHandlerThreadHandler.getThreadHandler(long pollTime, int threadCnt, LoggerInf logger) static TikavoidRaise error if #%eof not found as last entry in manifestvoidvoidAny specialized EOF handling required.voidCheckm.handleHeaders(String[] comments, String[] profiles) Validate Profile from external manifest headersvoidManifestRowCheckmAbs.handleHeaders(String[] comments) voidManifestRowInf.handleHeaders(String[] headers) Process all manifest headers beginning with the form #% The headers exist before any processed manifest lineprotected voidManifestBuild.initialize(TFrame mFrame) static booleanprotected String[]static StringConvert a MODS XML into a DC XML StringvoidManifest.openOutput(File outputManifestFile) Output file to write new manifestvoidManifest.openOutput(OutputStream outputStream) Use output stream for writing out manifestprotected PropertiesStorageAddClient.processResponse(org.apache.http.HttpResponse response) org.apache.http.HttpResponseStorageAddClient.sendAddMultipart(String link, Integer nodeID, Identifier objectID, String localContext, String localID, File manifest, String url, Long size, String type, String value, String formatType) org.apache.http.HttpResponseStorageAddClient.sendAddMultipart(String link, Integer nodeID, Identifier objectID, String localContext, String localID, File manifest, String url, Long size, String type, String value, String formatType, int timeout) org.apache.http.HttpResponseStorageAddClient.sendAddMultipartRetry(String link, Integer nodeID, Identifier objectID, String localContext, String localID, File manifestFile, String urlS, Long size, String type, String value, String formatType, int timeout, int retry) getObject with timeout and retryStorageAddClient.sendAddMultipartRetryProperties(String link, Integer nodeID, Identifier objectID, String localContext, String localID, File manifestFile, String urlS, Long size, String type, String value, String formatType, int timeout, int retry) Send a multipart storage add requestorg.apache.http.HttpResponseStorageAddClient.sendAddPost(String link, int nodeID, Identifier objectID, String context, String identifier, File manifest, String url, Long size, String type, String value, String formatType) protected voidCheckm.sequenceColumns(String columnsS) Build tables with sequencing of known columnsvoidPingState.set(boolean doGC) Set system values in ping responseprotected voidCheckm.setCol(String[] disp, Checkm.ColMap val, String value) Set col output display of content for column existsprotected voidSet manifest file as saved buffered readervoidFileComponent.setFirstMessageDigest(String digest, String algorithmS) Save a new MessageDigest for this file as only digestprotected voidCheckm.setHeaders(String[] comments) Process the local headers to define row organization and contentprotected voidManifest.setInputStream(InputStream inStream) Convert input stream to buffered readerstatic StringSet a V3 name space in the MODS xmlprotected voidParse prefix linevoidCheckm.setRow(FileComponent fileComponent, String line) From manifest line parse out fileComponent elements and set those values in fileComponentvoidvoidProcess Manifest line.voidFile size as stringvoidTika.setTika(FileComponent component, File testFile, String fileID) Set mime type using TikavoidTika.setTika(FileComponent component, InputStream stream, String fileID) Set mime type using TikavoidSet link to file passed as stringvoidThreadHandler.shutdown()static StringCheckm.squeezeHeader(String name, String header) static voidValidateStorageCmdParms.testArchiveType(String archiveType) static voidValidateStorageCmdParms.testContext(String context) static voidValidateStorageCmdParms.testFileName(String fileName) static voidValidateStorageCmdParms.testLocalID(String localID) static voidValidateStorageCmdParms.testNodeID(int nodeID) static voidValidateStorageCmdParms.testObjectID(Identifier objectID) static voidValidateStorageCmdParms.testVersionID(Integer versionID) static StringValidateStorageCmdParms.validateContext(String context) Validate context (ingest profile, access group ...)static StringValidateStorageCmdParms.validateFileName(String fileName) Validate file namestatic StringValidateStorageCmdParms.validateLocalID(String localID) Validate local identifierstatic intValidateStorageCmdParms.validateNodeID(String nodeID) Validate and convert nodeIDstatic IdentifierValidateStorageCmdParms.validateObjectID(String objectIDS) Validate and convert Object Identifierstatic intValidateStorageCmdParms.validateVersionID(String versionID) Validate and convert versionIDvoidWrite this line to outputvoidManifest.write(ManifestRowInf row) Write a line to output manifestvoidManifest.writeEOF()voidManifest.writeHeaders()voidManifest.writeLines(String[] lines) Constructors in org.cdlib.mrt.core that throw TExceptionModifierConstructorDescriptionConstructorComponentContent(List<FileComponent> componentList) ComponentContent(LoggerInf logger, Manifest manifest, InputStream manifestInputStream) Identifier(String value) Constructor - Namespace default is ARKIdentifier(String value, Identifier.Namespace namespace) ConstructorManifest(LoggerInf logger, ManifestRowInf rowFactory) ConstructorManifestRowAdd(LoggerInf logger) ManifestRowAdd(LoggerInf logger, Checkm checkm) ManifestRowBatch(String outputProfile, LoggerInf logger) ManifestRowBatch(LoggerInf logger) ManifestRowBatch(LoggerInf logger, Checkm checkm) ManifestRowCheckmAbs(String outputProfile, LoggerInf logger, String[] profiles, String[] cols) ManifestRowCheckmAbs(LoggerInf logger, String[] profiles, String[] cols) ManifestRowCheckmAbs(LoggerInf logger, Checkm checkm) ManifestRowIngest(LoggerInf logger) ManifestRowIngest(LoggerInf logger, Checkm checkm) ManifestRowObject(LoggerInf logger) ManifestRowObject(LoggerInf logger, Checkm checkm) MessageDigest(String value, String algorithmS) Constructor This form of the constructor requires a supported form of the checksum type after normalization.MessageDigest(String value, MessageDigestType algorithm) ConstructorInitialize Ping stateprotectedThreadHandler(long pollTime, int threadCnt, LoggerInf logger) -
Uses of TException in org.cdlib.mrt.db
Methods in org.cdlib.mrt.db that throw TExceptionModifier and TypeMethodDescriptionvoidDPRFileDB.attemptReconnection()static Properties[]DBUtil.cmd(Connection connection, String cmd, LoggerInf logger) static booleanDBUtil.exec(Connection connection, String replaceCmd, LoggerInf logger) DPRFileDB.getConnection(boolean autoCommit) DPRFileDB.getConnectionOriginal(boolean autoCommit) DPRFileDB.getConnectionWithReconnect(boolean autoCommit) static DBConnectionPoolDBConnectionPool.getDBConnectionPool(String url, String user, String password) DPRFileDB.getSingleConnection(boolean autoCommit) static StringDPRFileDB.retrieveENC(String key) protected voidDPRFileDB.setPool()static intDBUtil.update(Connection connection, String replaceCmd, LoggerInf logger) Constructors in org.cdlib.mrt.db that throw TException -
Uses of TException in org.cdlib.mrt.formatter
Methods in org.cdlib.mrt.formatter that throw TExceptionModifier and TypeMethodDescriptionprotected voidprotected voidFormatterAbs.addLvl(int lvl, PrintStream stream) Indent handling for output display streamprotected voidNSMap.buildReaderFile()protected voidNSMap.buildResourceTable()voidFormatterAbs.format(StateInf state, PrintStream stream) voidFormatterInf.format(StateInf state, PrintStream stream) Create ouput format.voidJSONFormatter.format(StateInf stateFile, PrintStream stream) voidXHTMLFormatter.format(StateInf stateFile, PrintStream stream) protected voidFormatterAbs.formatClass(Class c, Object object, int lvl, PrintStream stream) Format this class.voidFormatterAbs.formatNamedNode(String name, Object obj, boolean isFirst, int lvl, PrintStream stream) Format a node.voidFormatterAbs.formatNode(Object obj, boolean isFirst, int lvl, PrintStream stream) protected voidFormatterAbs.formatObject(Object object, int lvl, PrintStream stream) Use reflection to format this objectstatic ANVLFormatterFormatterAbs.getANVLFormatter(LoggerInf logger) get ANVL formatterstatic FormatterInfFormatterAbs.getFormatter(FormatterInf.Format formatType, LoggerInf logger) Get typped formatterreturn a header for the XML - this property is requiredXMLMapper.getIDName()Get name of ID used for this namespacestatic JSONFormatterFormatterAbs.getJSONFormatter(String mapperName, LoggerInf logger) get JSON formatterstatic JSONFormatterFormatterAbs.getJSONFormatter(LoggerInf logger) get JSON formatterprotected StringFormatterAbs.getMethodName(Method method) Standard name generator for elements.Get this name with namespace if supplied.XMLMapper.getNameSpacePrefix()XMLMapper.getNameSpaceURI()XMLMapper.getProperties(String resourceName) Gets a resource using the class loaderXMLMapper.getResourceName()Get name of ID used for this namespaceXMLMapper.getSemanticBase()XMLMapper.getXHTML()static XHTMLFormatterFormatterAbs.getXHTMLFormatter(String mapperName, LoggerInf logger) get XHTML formatterstatic XHTMLFormatterFormatterAbs.getXHTMLFormatter(LoggerInf logger) get XHTML formatterstatic XMLFormatterFormatterAbs.getXMLFormatter(String mapperName, LoggerInf logger) get XML formatterstatic XMLFormatterFormatterAbs.getXMLFormatter(LoggerInf logger) get XML formatterstatic XMLMapperXMLMapper.getXMLMapper(String resourceName, StateInf state) protected booleanFormatterAbs.isDisplayableClass(Class c) protected booleanFormatterAbs.isDisplayMethod(Method m) Critical routine to determine if a method should be displayed Must begin with get.protected voidANVLFormatter.print(String name, String value, boolean isFirst, boolean isNumeric, int lvl, PrintStream stream) protected abstract voidFormatterAbs.print(String name, String value, boolean isFirst, boolean isNumeric, int lvl, PrintStream stream) Formatted entry valueprotected voidJSONFormatter.print(String name, String value, boolean isFirst, boolean isNumeric, int lvl, PrintStream stream) protected voidXHTMLFormatter.print(String name, String value, boolean isFirst, boolean isNumeric, int lvl, PrintStream stream) protected voidXMLFormatter.print(String name, String value, boolean isFirst, boolean isNumeric, int lvl, PrintStream stream) protected intANVLFormatter.printBegin(StateInf state, PrintStream stream) protected abstract intFormatterAbs.printBegin(StateInf state, PrintStream stream) Beginning of formattingprotected intJSONFormatter.printBegin(StateInf state, PrintStream stream) protected intXHTMLFormatter.printBegin(StateInf state, PrintStream stream) protected intXMLFormatter.printBegin(StateInf state, PrintStream stream) protected voidANVLFormatter.printClose(String name, int lvl, PrintStream stream) protected abstract voidFormatterAbs.printClose(String name, int lvl, PrintStream stream) Closing element entry.protected voidJSONFormatter.printClose(String name, int lvl, PrintStream stream) protected voidXHTMLFormatter.printClose(String name, int lvl, PrintStream stream) protected voidXMLFormatter.printClose(String name, int lvl, PrintStream stream) protected voidANVLFormatter.printEnd(PrintStream stream) protected abstract voidFormatterAbs.printEnd(PrintStream stream) End of formattingprotected voidJSONFormatter.printEnd(PrintStream stream) protected voidXHTMLFormatter.printEnd(PrintStream stream) protected voidXMLFormatter.printEnd(PrintStream stream) protected voidANVLFormatter.printEnd_Concatenation(PrintStream stream) Example of ANVL output using concatenation of identical keys using ;voidANVLFormatter.printStart(String name, boolean isFirst, int lvl, PrintStream stream) protected abstract voidFormatterAbs.printStart(String name, boolean isFirst, int lvl, PrintStream stream) Beginning element entry.protected voidJSONFormatter.printStart(String name, boolean isFirst, int lvl, PrintStream stream) protected voidXHTMLFormatter.printStart(String name, boolean isFirst, int lvl, PrintStream stream) protected voidXMLFormatter.printStart(String name, boolean isFirst, int lvl, PrintStream stream) voidFormatterAbs.processList(Method mGetList, Object objList, boolean firstNode, int lvl, PrintStream stream) Using reflection, process a list of values.protected StringFormatterAbs.runStringMethod(Method meth, String name, Object object) Runs toString() for this methodprotected Fileprotected Fileprotected voidNSMap.validate()protected voidFormatterAbs.write(String line, PrintStream stream) Used by formatter class to write to the display outputprotected voidFormatterAbs.writeln(String line, PrintStream stream) Used by formatter class to write a line to the display outputprotected voidJSONFormatter.writeStream(File formatFile, PrintStream stream) protected voidXHTMLFormatter.writeStream(File formatFile, PrintStream stream) Constructors in org.cdlib.mrt.formatter that throw TExceptionModifierConstructorDescriptionANVLFormatter(LoggerInf logger) FormatterAbs(LoggerInf logger) ConstructorJSONFormatter(String mapperName, LoggerInf logger) JSONFormatter(LoggerInf logger) XHTMLFormatter(String mapperName, LoggerInf logger) XHTMLFormatter(LoggerInf logger) XMLFormatter(String mapperName, LoggerInf logger) XMLFormatter(LoggerInf logger) protectedState must be explicitly included match an instance to assign a type name The type name is used for matchin resource properties -
Uses of TException in org.cdlib.mrt.log.test
Methods in org.cdlib.mrt.log.test that throw TExceptionModifier and TypeMethodDescriptionvoidTestElement.doTest()voidTestLevel.doTest()voidTestUse.doTest()voidTestLevel.doTest2()static voidstatic voidstatic voidConstructors in org.cdlib.mrt.log.test that throw TException -
Uses of TException in org.cdlib.mrt.log.utility
Methods in org.cdlib.mrt.log.utility that throw TExceptionModifier and TypeMethodDescriptionstatic voidAdd one or more JSON entries in log4j2voidvoidstatic voidAddStateEntryGen.addLogJson(org.apache.logging.log4j.Level level, String logKey, org.json.JSONObject jsonState) static org.json.JSONObjectstatic org.json.JSONObjectvoidAddStateEntryGen.addLogLevel(org.apache.logging.log4j.Level logLevel, String logKey) voidAddStateEntry.addLogStateEntry(String logKey) static voidAddStateEntry.addLogStateEntry(String logKey, org.json.JSONObject jsonState) static voidAddStateEntry.addLogStateEntry(org.apache.logging.log4j.Level level, String logKey, org.json.JSONObject jsonState) voidAddStateEntryGen.addLogStateEntry(String logKey) voidAddStateEntryGen.addLogStateEntry(String levelS, String logKey) static voidAddStateEntryGen.addLogStateEntry(String levelS, String logKey, org.json.JSONObject jsonState) static voidAddStateEntryGen.addLogStateEntry(String logKey, org.json.JSONObject jsonState) org.json.JSONObjectAddStateEntry.buildContent()org.json.JSONObjectAddStateEntryGen.buildContent()org.json.JSONObjectAddStateEntry.buildID()org.json.JSONObjectAddStateEntryGen.buildID()org.json.JSONObjectAddStateEntryGen.buildProperties()org.json.JSONObjectAddStateEntry.buildService()org.json.JSONObjectAddStateEntryGen.buildService()org.json.JSONObjectAddStateEntry.buildStateJSON()org.json.JSONObjectAddStateEntryGen.buildStateJSON()static StringLog4j2Util.getRootLevel()static voidLog4j2Util.setLoggerLevel(String loggerName, String levelS) static voidLog4j2Util.setLoggerLevel(String loggerName, org.apache.logging.log4j.Level level) static voidLog4j2Util.setRootLevel(String levelS) static voidLog4j2Util.setRootLevel(org.apache.logging.log4j.Level level) -
Uses of TException in org.cdlib.mrt.security
Methods in org.cdlib.mrt.security that throw TExceptionModifier and TypeMethodDescriptionstatic StringSecurityUtil.decodeBase64(String str) static StringSecurityUtil.desDecrypt(String text, String tkey) Use DES to decrypt a stringstatic StringSecurityUtil.desEncrypt(String text, String tkey) Use DES to encrypt a stringstatic StringSecurityUtil.encodeBase64(byte[] byteArray) static StringSecurityUtil.encodeBase64(InputStream inputStream) static StringSecurityUtil.encodeBase64(String str) static StringDo an MD5 encryption on a string
Note that the encryption does utf-8 conversion of password to byte arraystatic StringDo an MD5 encryption on a string
Note that the encryption does utf-8 conversion of password to byte arrayCertsLDAP.extractProfiles(String user, String pwd, String searchId) LDAPUtil.extractProfiles(String host, String uid, String password, String searchId) LDAPUtil.getClassNames(String host, String uid, String password, String searchId) CertsLDAP.getProfile(String user, String pwd, String mnemonic) static StringLDAPUtil.getProfile(String host, String uid, String password, String className) static LinkedHashList<String, String> LDAPUtil.getUserProperties(String host, String uid, String password) booleanCertsLDAP.isAuthorized(String uid, String password, String className, String searchId) static LinkedHashList<String, String> LDAPUtil.search(String uid, String password, String host, String[] returnedAtts, String searchBase, String filter) Constructors in org.cdlib.mrt.security that throw TException -
Uses of TException in org.cdlib.mrt.test
Methods in org.cdlib.mrt.test that throw TExceptionModifier and TypeMethodDescriptionprotected static voidTestFileUtil.addTestFile(File tempDir, String fileName) Add file at this directory level - ending with .txt Note that file content is name of file.static FileReturn a temp copy of a passed filestatic voidTestFileUtil.copyDirectory(File sourceLocation, File targetLocation) Copy all files in a directory to another directory (will overwrite)static voidCopy file from one directory to anotherstatic voidCopy files in one directory to another directory based on matchin a regular expression.static longTestFileUtil.extractFileCnt(File extFile, long dflt) static voidCopy one file to anotherstatic StringTestFileUtil.file2String(File extractFile) Extract the value of file to a string (utf-8)static StringTestFileUtil.file2String(File extractFile, String encType) Extract the value of file to a string (utf-8)static voidTestFileUtil.getDirectoryFiles(File sourceLocation, Vector<File> files) Build list of files for a directorystatic String[]TestFileUtil.getLinesFromFile(File splitFile) Return array of nonempty lines from a filestatic String[]TestFileUtil.getLinesFromURL(LoggerInf logger, String urlS) Return array of nonempty lines from url contentstatic FileTestFileUtil.getTempDir(String directoryPrefix) Get a temporary directorystatic FileTestFileUtil.getTempDir(String directoryPrefix, LoggerInf logger) Get a temporary directorystatic FileTestFileUtil.getTempFile(String prefix, String suffix) Create a temp file using prefix and suffix (THREAD SAFE)static voidIncrement a stored file value and save back to filestatic voidTestFileUtil.populateTest(File tempDir, String name, int lvl, int maxlvl) Create a test directory of form: A AA AB AC ...static voidTestFileUtil.stream2File(InputStream inStream, File outFile) Create a file from a streamstatic voidTestFileUtil.stream2Stream(InputStream inStream, OutputStream outStream) Copy input stream to output streamstatic voidTestFileUtil.string2File(File createFile, String fileContent) Create a file containing this string value (utf-8)static voidTestFileUtil.updateDirectory(File sourceLocation, File targetLocation) Copy all files in a directory to another directory (will not overwrite)static voidGet content referenced by a url and save in a filestatic voidGet content referenced by a url and save in a filestatic voidGet content referenced by a url and save in a filestatic voidGet content referenced by a url and save in a filestatic voidTestFileUtil.url2OutputStream(String urlS, OutputStream outStream, int retry) Move url response to output streamstatic FileTestFileUtil.url2TempFile(LoggerInf m_logger, String urlS) get remote file -
Uses of TException in org.cdlib.mrt.tools
Methods in org.cdlib.mrt.tools that throw TExceptionModifier and TypeMethodDescriptionDefaultConfigResolver.getResolvedStorageNode(long num) UC3ConfigResolver.getResolvedStorageNode(long num) abstract StringDefaultConfigResolver.getResolvedValue(String parameterName) MockConfigResolver.getResolvedValue(String parameterName) SSMConfigResolver.getResolvedValue(String parameterName) UC3ConfigResolver.getResolvedValue(String parameterName) -
Uses of TException in org.cdlib.mrt.tools.loader
Methods in org.cdlib.mrt.tools.loader that throw TExceptionModifier and TypeMethodDescriptionLoaderManifest.addManifestRow(File file, String checksumType, String fileURLS, File sourceDir) Build a POST manifestStoreLoader.addVersion(int nodeID, Identifier objectID, String localContext, String localID, File manifest, Long size, MessageDigest manifestMessageDigest) intBatchManifest.buildBatchManifest()protected FileComponentLoaderManifest.buildBatchManifestRow()Build the METS component to be added to the component list for an individual object manifestprotected intBatchManifest.buildContentManifests()protected LoaderManifestBatchManifest.buildLoaderManifest(int item) intLoaderManifest.buildManifest(ManifestRowAbs.ManifestType manifestType) voidBatchLoader.end()voidStoreLoader.end()protected PropertiesBatchLoader.getDummyIngestStatus()protected PropertiesBatchLoader.getIngestStatus(org.apache.http.HttpResponse response) protected voidBatchLoader.initialize(TFrame fw) protected voidStoreLoader.initialize(TFrame fw) protected voidBatchLoader.initializeBatchLoader()protected voidStoreLoader.initializeStoreLoader()voidBatchLoader.process(String line, Properties processProp) Process an incoming line which contains 1) ark 2) sequence number Use the ark for issuing an addVersion to a storage servicevoidStoreLoader.process(String line, Properties processProp) Process an incoming line which contains 1) ark 2) sequence number Use the ark for issuing an addVersion to a storage serviceprotected LoaderManifestStoreLoader.processManifest(String dirName, FileComponent batchComponent, File extractDirectory, String localID, String primaryID) voidBatchManifest.run()static BatchManifestBatchManifest.run(String checksumType, Vector<LoaderInfo> extractDirectories, File outputManifestDirectory, URL outputManifestBaseURL, URL componentURLBase, LoggerInf logger) voidLoaderManifest.run(ManifestRowAbs.ManifestType manifestType) static LoaderManifestLoaderManifest.run(ManifestRowAbs.ManifestType manifestType, String checksumType, FileComponent batchComponent, File dataDir, File loaderManifestFile, URL componentURLBase, LoggerInf logger) protected PropertiesBatchLoader.sendIngest(URL ingestURL, String profile, File manifestFile) Send constructed request to ingestprotected org.apache.http.HttpResponseBatchLoader.sendIngestMultipart(String ingestID, URL url, File ingestPackage, String profileIn, String type) Send ingest requestlongLoaderManifest.setComponents()Build a POST manifestConstructors in org.cdlib.mrt.tools.loader that throw TExceptionModifierConstructorDescriptionBatchLoader(TFrame framework) BatchManifest(String checksumType, Vector<LoaderInfo> extractDirectories, File outputManifestDirectory, URL outputManifestBaseURL, URL componentURLBase, LoggerInf logger) LoaderManifest(String checksumType, FileComponent batchComponent, File dataDir, File loaderManifest, URL componentURLBase, LoggerInf logger) StoreLoader(TFrame framework) -
Uses of TException in org.cdlib.mrt.tools.loader.test
Methods in org.cdlib.mrt.tools.loader.test that throw TExceptionModifier and TypeMethodDescriptionvoidBatchLoaderTest.testBatchLoader()voidStoreLoaderTest.testStoreLoader() -
Uses of TException in org.cdlib.mrt.utility
Subclasses of TException in org.cdlib.mrt.utilityModifier and TypeClassDescriptionstatic classCONCURRENT_UPDATE subclass See TExceptionEnum value for descriptionstatic classEXTERNAL_SERVICE_UNAVAILABLE subclass See TExceptionEnum value for descriptionstatic classFIXITY_CHECK_FAILS subclass See TExceptionEnum value for descriptionstatic classSQL_EXCEPTION subclass See TExceptionEnum value for descriptionstatic classGENERAL_EXCEPTION subclass See TExceptionEnum value for descriptionstatic classINVALID_ARCHITECTURE subclass See TExceptionEnum value for descriptionstatic classINVALID_CONFIGURATION subclass See TExceptionEnum value for descriptionstatic classINVALID_DATA_FORMAT subclass See TExceptionEnum value for descriptionstatic classINVALID_OR_MISSING_PARM subclass See TExceptionEnum value for descriptionstatic classLOCKING_ERROR subclass See TExceptionEnum value for descriptionstatic classSQL_EXCEPTION subclass See TExceptionEnum value for descriptionstatic classAttempt to read or write to remote external IO service failsstatic classREQUEST_ELEMENT_UNSUPPORTED subclass See TExceptionEnum value for descriptionstatic classREQUEST_INVALID subclass See TExceptionEnum value for descriptionstatic classREQUEST_ITEM_EXISTS subclass See TExceptionEnum value for descriptionstatic classREQUESTED_ITEM_NOT_FOUND subclass See TExceptionEnum value for descriptionstatic classSQL_EXCEPTION subclass See TExceptionEnum value for descriptionstatic classUNIMPLEMENTED_CODE subclass See TExceptionEnum value for descriptionstatic classUSER_NOT_AUTHENTICATED subclass See TExceptionEnum value for descriptionstatic classUSER_NOT_AUTHORIZED subclass See TExceptionEnum value for descriptionMethods in org.cdlib.mrt.utility that return TExceptionModifier and TypeMethodDescriptionprotected TExceptionMessageDigestValue.makeTException(String header, Exception ex) Methods in org.cdlib.mrt.utility that throw TExceptionModifier and TypeMethodDescriptionprotected voidRecursive method for finding files and adding to archiveprotected voidRecursive method for finding files and adding to archiveprotected abstract voidArchiveBuilder.addItemFile(File entry, LoggerInf logger) Call back routinte to write an archive entry to archive output.protected voidArchiveBuilder.Tar.addItemFile(File entry, LoggerInf logger) write a archive entry to archive outputprotected voidArchiveBuilder.Zip.addItemFile(File entry, LoggerInf logger) write a archive entry to archive outputprotected abstract voidArchiveBuilderBase.addItemFile(File entry, LoggerInf logger) Call back routinte to write an archive entry to archive output.protected voidArchiveBuilderBase.Tar.addItemFile(File entry, LoggerInf logger) write a archive entry to archive outputprotected voidArchiveBuilderBase.Zip.addItemFile(File entry, LoggerInf logger) write a archive entry to archive outputvoidMProperties.addProperties(String resource) protected static voidFileUtil.addTestFile(File tempDir, String fileName) Add file at this directory level - ending with .txt Note that file content is name of file.static booleanTest if passed value is a "true" value Used to validate that an argument means "true" or "yes"voidHttpGet.build()protected voidArchiveBuilder.buildArchive()Create archive from constructor supplied valuesvoidArchiveBuilderBase.buildArchive(boolean includeBase) Create archive from constructor supplied valuesvoidHttpGet.buildContentLength(org.apache.http.HttpEntity entity) This routine will perform multiple calls to fix broken connection when content-length existsprotected voidHttpGet.buildNoContentLength(org.apache.http.HttpEntity entity) This routine is called only when Content-Length not provided on GET responsestatic FilePairtreeUtil.buildPairDirectory(File baseDirectory, String name) Build if necessary directories down to object levelstatic Properties[]SQLUtil.cmd(String sqlQuery, Connection connection, LoggerInf logger) Return a row from a tablestatic FileReturn a temp copy of a passed filestatic voidFileUtil.copyDirectory(File sourceLocation, File targetLocation) Copy all files in a directory to another directory (will overwrite)static voidCopy file from one directory to anotherstatic voidCopy files in one directory to another directory based on matchin a regular expression.static StringReplace quote and escape in JSON stringstatic StringReplace Entity references with XML special charactersstatic PropertiesZooCodeUtil.decodeItem(byte[] bytes) static ObjectZooCodeUtil.decodeItem(InputStream inStream) static voidFileTrans.deleteEmpty(File testFile, File stopDir) Remove empty directoriesstatic org.apache.http.HttpResponseHTTPUtil.deleteHttpResponse(String requestURL, int timeout) Perform a DELETE operationstatic InputStreamHTTPUtil.deleteObject(String requestURL, int timeout) Deletestatic InputStreamHTTPUtil.deleteObject(String requestURL, int timeout, int retry) getObject with timeout and retryprotected static booleanPairtreeUtil.deletePairPath(File baseDirectory, Vector<String> lvls) Delete a constructed pair path if path is emptystatic SerializableSerializeUtil.deserialize(File inFile) Take file and build object from itstatic SerializableSerializeUtil.deserialize(InputStream inStream) Build serializable object from input streamstatic DocumentDOMParser.doParse(InputStream istream, LoggerInf logger) parse xml contained from input stream InputStream Contains logger param Logger Logger to receive messages, if anystatic DocumentDOMParser.doParse(InputStream istream, LoggerInf logger, boolean validate, boolean nsAware, boolean expandEntities) parse xml contained from input stream InputStream Contains loggerstatic StringReplace XML special characters with Entity referencesstatic voidZooCodeUtil.encodeItem(Object object, OutputStream outStream) static byte[]ZooCodeUtil.encodeItem(Properties row) static StringXMLUtil.encodeName(String xmlString) Replace XML special characters with Entity referencesstatic StringXMLUtil.encodeValue(String xmlString) Replace XML special characters with Entity referencesvoidListProcessorSimple.end()Process on EnrichmentList itemstatic longFileUtil.extractFileCnt(File extFile, long dflt) protected TLockFile.LockContentTLockFile.extractLockContent(File localExtractFile) Lock info extracted from filestatic voidCopy one file to anotherstatic StringFileUtil.file2String(File extractFile) Extract the value of file to a string (utf-8)static StringFileUtil.file2String(File extractFile, String encType) Extract the value of file to a string (utf-8)static StringListProcessorThreads.file2String(File extractFile, String encoding) Extract the value of file to a string (utf-8)static voidChecksums.finishDigest(Checksums.Digest inDigest) static StringGetProp.get(Properties prop, String key) static ArchiveBuilderArchiveBuilder.getArchiveBuilder(File fromDir, File toArchive, LoggerInf logger, ArchiveBuilder.ArchiveType archiveType) Factory routine to get specific ArchiveBuilder for supplied ArchiveTypestatic ArchiveBuilderArchiveBuilder.getArchiveBuilder(File fromDir, OutputStream outputStream, LoggerInf logger, ArchiveBuilder.ArchiveType archiveType) Factory routine to get specific ArchiveBuilder for supplied ArchiveTypestatic ArchiveBuilderBaseArchiveBuilderBase.getArchiveBuilderBase(File fromDir, File toArchive, LoggerInf logger, ArchiveBuilderBase.ArchiveType archiveType) Factory routine to get specific ArchiveBuilder for supplied ArchiveTypestatic ArchiveBuilderBaseArchiveBuilderBase.getArchiveBuilderBase(File fromDir, OutputStream outputStream, LoggerInf logger, ArchiveBuilderBase.ArchiveType archiveType) Factory routine to get specific ArchiveBuilder for supplied ArchiveTypestatic BooleanGetProp.getBool(Properties prop, String key) Checksums.getChecksum(String checksumType) static ChecksumsChecksums.getChecksums(String[] types, File inFile) static ChecksumsChecksums.getChecksums(String[] types, InputStream inStream) static voidFileUtil.getDirectoryFiles(File sourceLocation, Vector<File> files) Build list of files for a directoryprotected StringArchiveBuilder.getEntryName(File addFile) Normalize archive entry nameprotected StringArchiveBuilderBase.getEntryName(File addFile) Normalize archive entry namestatic StringGetProp.getEx(Properties prop, String key) static intGetProp.getExNumInt(Properties prop, String key) static voidstatic voidstatic ElementDOMParser.getFirstNode(Element elem, String name) Stub method: Return first decendant element matching a specific string name (xpath=name[1]static ElementDOMParser.getFirstNode(Element elem, String name, LoggerInf logger) Return first decendant element matching a specific string name (xpath=name[1] Contains loggerstatic InputStreamHTTPUtil.getFTPInputStream(String ftpURLS, int timeout) static HttpGetHttpGet.getHttpGet(URL contentURL, File outFile, long testSize, int timeout, LoggerInf logger) static org.apache.http.HttpResponseHTTPUtil.getHttpResponse(String requestURL, int timeout) Perform a GET operationstatic org.apache.http.HttpResponseHTTPUtil.getHttpResponse(String requestURL, int timeout, long startByte, long endByte) Perform a GET operationstatic org.apache.http.HttpResponseHTTPUtil.getHttpResponse(URL hrefURL, int timeout, int retry) static String[]FileUtil.getLinesFromFile(File splitFile) Return array of nonempty lines from a filestatic String[]FileUtil.getLinesFromURL(LoggerInf logger, String urlS) Return array of nonempty lines from url contentprotected FileTLockFile.getLockFile(File base, String lockName) get requested lock filestatic MrtConnectionPoolMrtConnectionPool.getMrtConnectionPool(String url, String user, String password) static NodeListDOMParser.getNodeList(Node node, String expression, LoggerInf logger) Same as above, fewer parameters Logging routine not added since the original code for this method did no have a "throw" in the catch (TransformerException te) which indicates that it may not be worth logging.static LongGetProp.getNumLong(Properties prop, String key) static longGetProp.getNumLongEx(Properties prop, String key) static InputStreamSend this manifestFile to mrt storestatic InputStreamgetObject with timeout and retrystatic InputStreamHTTPUtil.getObject404(String requestURL, int timeout, int retry) getObject with timeout and retrystatic org.apache.http.HttpEntityHTTPUtil.getObjectEntity(String requestURL, int timeout) Send this manifestFile to mrt storestatic org.apache.http.HttpEntityHTTPUtil.getObjectEntity(String requestURL, int timeout, long startByte, long endByte) Send this manifestFile to mrt storestatic PropertiesHTTPUtil.getObjectProperties(String requestURL, int timeout, int retry) Get structured properties from a Get requeststatic org.apache.http.HttpResponseHTTPUtil.getObjectResponse(String requestURL, int timeout, int retry) Get structured properties from a Get requeststatic FilePairtreeUtil.getPairDirectory(File baseDirectory, String name) Return a file that may not be resolved for pair pathPairtreeUtil.getPairLevels(String name) Get a List of String pairtree elementsstatic StringPairtreeUtil.getPairName(String name) Get a pairtree path based on input namestatic TLockFileTLockFile.getReplaceStaleTLockFile(File base, String lockName, int staleTimeSeconds) Factory method - will replace lock if exceeds stale agestatic TLockFileTLockFile.getReplaceTLockFile(File base, String lockName, int staleTimeSeconds, int replaceTimeSeconds, int matchAttempts, int waitTimeSeconds) Factory method - will replace lock if exceeds certain age if does not exceed age then it attempts to build lockTFrame.getResource(String resourceName) Gets a resource using the class loaderstatic Properties[]Return a row from a tablestatic SerializableSerializeUtil.getSerializeObject(String requestURL) build Serializable object from a remote service using a request URLstatic StringDOMParser.getSimpleElementText(Node node, LoggerInf logger) Return concatinated string text values for all text nodes that are children of this node Contains loggerTFrame.getSingleInstance(String registryKey) Gets the single instance of a 'singleton' patterned class.TFrame.getSingleInstances(String registryKey) Gets the single instance of each class associated with a registry key.static InputStreamstatic InputStreamstatic FileFileUtil.getTempDir(String directoryPrefix) Get a temporary directorystatic FileFileUtil.getTempDir(String directoryPrefix, LoggerInf logger) Get a temporary directorystatic FileFileUtil.getTempFile(String prefix, String suffix) Create a temp file using prefix and suffix (THREAD SAFE)static TFileLoggerLoggerAbs.getTFileLogger(String mFrameID, int messageMaxValue, int errorMaxValue) Factory class for sysout default using explicit numeric levelsstatic TFileLoggerLoggerAbs.getTFileLogger(String mFrameID, String filePath, Properties prop) Factory class for file output defined by prop valuesstatic TFileLoggerLoggerAbs.getTFileLogger(String mFrameID, LoggerInf.LogLevel messageLogLevel, LoggerInf.LogLevel errorLogLevel) Factory class for sysout default using explicit verbose levelsstatic InputStreamHTTPUtil.getTimeoutInputStream(URL sourceURL, int timeout) Make a connection using URL and perform timeout test using threadsstatic TLockFileTLockFile.getTLockFile(File base, String lockName) Factory methodstatic TLockFileTLockFile.getTLockFile(File base, String lockName, int staleTimeSeconds) Factory methodstatic TLockFileTLockFile.getTLockFile(File base, String lockName, int matchAttempts, int waitTimeSeconds) Factory method - this form allows multiple retry attempts on the lockprotected ZipEntryArchiveBuilderBase.Zip.getZipEntry(File inFile) static voidIncrement a stored file value and save back to fileprotected voidListProcessorSimple.initialize(TFrame framework) voidTFileLogger.initialize(String mFrameID, String filePath, Properties prop) Initialize the logger inside of a framework.TFrame.instantiate(String registryKey) Creates an instance of a registered class.TFrame.instantiateAll(String registryKey) Creates instances of all registered classes sharing a common registry keyprotected voidTFrameInit.instantiateTFrame(String[] propertyFiles, String serviceName) Instantiat TFrame objectvoidMProperties.load(InputStream input) static PropertiesPropertiesUtil.loadFileProperties(File loadFile) Loads properties from a properties files.protected LoggerInfTFrame.loadLogger(String logPath) Loads the registered logger.voidMProperties.loadProperties(LoggerInf logger, String[] propertiesFileNames) Loads properties from one or more properties files.static PropertiesPropertiesUtil.loadProperties(String propertiesFileName) Loads properties from one or more properties files.static PropertiesPropertiesUtil.loadPropertiesFileName(String propertiesFileName) Loads properties from one or more properties files.protected voidTFrame.loadServiceProperties(String servicePathName) Load properties from an optional supplied path.voidLoad tally count from filestatic voidstatic voidFileUtil.populateTest(File tempDir, String name, int lvl, int maxlvl) Create a test directory of form: A AA AB AC ...static org.apache.http.HttpResponseHTTPUtil.postHttpResponse(String requestURL, Properties prop, int timeout) Send this manifestFile to mrt storestatic org.apache.http.HttpResponseHTTPUtil.postMultipartHeader(String requestURL, Properties mainHeaders, Properties stringParts, Map<String, File> fileParts, int timeout) Do multipart poststatic org.apache.http.HttpResponseHTTPUtil.postMultipartHttpResponse(String requestURL, Properties stringParts, Map<String, File> fileParts, int timeout) Do multipart poststatic org.apache.http.HttpResponseHTTPUtil.postMultipartHttpResponse2(String requestURL, Properties stringParts, Map<String, File> fileParts, int timeout) Do multipart poststatic InputStreamHTTPUtil.postMultipartObject(String requestURL, Properties stringParts, Map<String, File> fileParts, int timeout) Return InputStream from multipart requeststatic InputStreamHTTPUtil.postMultipartObject2(String requestURL, Properties stringParts, Map<String, File> fileParts, int timeout) Return InputStream from multipart requeststatic InputStreamHTTPUtil.postObject(String requestURL, Properties prop, int timeout) Send this manifestFile to mrt storevoidvoidChecksums.process(InputStream inputStream) voidListProcessor.process(String item, Properties processProp) Process on EnrichmentList itemvoidListProcessorSimple.process(String item, Properties processProp) Process on EnrichmentList itemvoidListProcessorThreads.process(String item, Properties processProp) Process on EnrichmentList itemvoidTimerUtil.process()voidListProcessorSimple.processList()Find list to process and sequentially process the list Note properties: start - beginning offset of list to process last - last offset of list to processprotected voidListProcessorThreads.processList()Find list to process and sequentially process the list Note properties: start - beginning offset of list to process last - last offset of list to processstatic voidPropertiesUtil.prop2File(Properties prop, String header, File outFile) static org.apache.http.HttpResponseHTTPUtil.putMultipartHttpResponse(String requestURL, Properties stringParts, Map<String, File> fileParts, int timeout) Do multipart poststatic InputStreamHTTPUtil.putMultipartObject(String requestURL, Properties stringParts, Map<String, File> fileParts, int timeout) Return InputStream from multipart requestprotected StringListProcessorThreads.read()Find list to process and sequentially process the list Note properties: start - beginning offset of list to process last - last offset of list to processbooleanTLockFile.remove()delete lockstatic booleanPairtreeUtil.removePairDirectory(File deleteDirectory) Remove pair directory and remove a parent directory to baseDirectory, but not including base directorystatic StringXMLUtil.removeXMLHeader(String xml) voidTLockFile.replaceLock(int seconds) replace existing lock with this lock if existing lock exceeds the number of seconds provided.voidTLockFile.replaceStaleLock()replace existing lock with this lock if existing lock stale time exceeds current timeprotected voidListProcessorBase.requiredProp(Properties inProp, Properties outProp, String key) copy property from one Properties to another and throw exception if not foundstatic PropertiesHTTPUtil.response2Property(org.apache.http.HttpResponse response) voidTLockFile.retryLock(int noMatchAttempts, int matchAttempts, int waitTimeSeconds) Retry setting lock - Issue several threads waiting on same lock.voidstatic voidSerializeUtil.serialize(Serializable serialObject, File outFile) Write serialized object to filestatic voidSerializeUtil.serialize(Serializable serialObject, OutputStream outStream) Take serializable object and output to streamprotected voidArchiveBuilder.setEntry(OutputStream out, File entry) Move file to archiveprotected voidArchiveBuilderBase.setEntry(OutputStream out, File entry) Move file to archiveprotected voidTLockFile.setLock()set the lock - attempt to write lock file - reread lock - if my lock then lock is active - otherwise lock is inactiveprotected abstract voidArchiveBuilder.setOutputStream(OutputStream baseOutputStream) Call back routine for setting archive output stream type: tar, tar.gz, zipprotected voidArchiveBuilder.Tar.setOutputStream(OutputStream baseOutputStream) protected voidArchiveBuilder.TarGZ.setOutputStream(OutputStream baseOutputStream) protected voidArchiveBuilder.Zip.setOutputStream(OutputStream baseOutputStream) protected abstract voidArchiveBuilderBase.setOutputStream(OutputStream baseOutputStream) Call back routine for setting archive output stream type: tar, tar.gz, zipprotected voidArchiveBuilderBase.Tar.setOutputStream(OutputStream baseOutputStream) protected voidArchiveBuilderBase.TarGZ.setOutputStream(OutputStream baseOutputStream) protected voidArchiveBuilderBase.Zip.setOutputStream(OutputStream baseOutputStream) protected voidMessageDigestValue.setSizeChecksum(InputStream inputStream, String checksumType) Get size and checksum for newer checksum typesprotected voidMessageDigestValue.setSizeChecksum32(Checksum checksum32, InputStream inputStream) Create checksums for older types: CRC32 and Adler32static DeleteOnCloseFileInputStreamHttpGet.setTempGet(URL contentURL, long testLength, int timeout, LoggerInf logger) static DocumentBuilderget parser Contains loggerstatic voidFileUtil.stream2File(InputStream inStream, File outFile) Create a file from a streamstatic voidHttpGet.stream2File(InputStream inStream, File outFile, boolean append) Create a file from a streamstatic voidFileUtil.stream2Stream(InputStream inStream, OutputStream outStream) Copy input stream to output streamstatic voidFileUtil.string2File(File createFile, String fileContent) Create a file containing this string value (utf-8)static Stringprotected LoggerInfThrow exception if log is nullvoidFileTrans.translate()static voidFileUtil.updateDirectory(File sourceLocation, File targetLocation) Copy all files in a directory to another directory (will not overwrite)static voidGet content referenced by a url and save in a filestatic voidGet content referenced by a url and save in a filestatic voidGet content referenced by a url and save in a filestatic voidGet content referenced by a url and save in a filestatic voidFileUtil.url2OutputStream(String urlS, OutputStream outStream, int retry) Move url response to output streamHttpGet.url2Stream(String urlS, long startByte, long endByte) static FileFileUtil.url2TempFile(LoggerInf m_logger, String urlS) get remote fileFixityTests.validateSizeChecksum(String passedChecksum, String passedChecksumTypeS, long passedFileSize) Get the download size and checksum for this filestatic StringXSLTUtil.xslConvert(InputStream xmlIS, InputStream xslIS, Hashtable parmTable, LoggerInf logger) Convert xml using an xslt stylesheetstatic StringXSLTUtil.xslConvert(InputStream xmlIS, String idXSL, Hashtable parmTable, LoggerInf logger) Convert xml using an xslt stylesheetstatic StringXSLTUtil.xslConvert(String xml, String idXSL, Hashtable parmTable, LoggerInf logger) static StringXSLTUtil.xslConvert(StreamSource sourceXML, StreamSource sourceXSL, Hashtable parmTable, LoggerInf logger) Convert xml using an xslt stylesheetConstructors in org.cdlib.mrt.utility that throw TExceptionModifierConstructorDescriptionArchiveBuilder(File fromDir, File toArchive, LoggerInf logger, ArchiveBuilder.ArchiveType archiveType) Contructor used as build method for this classArchiveBuilder(File fromDir, OutputStream outputStream, LoggerInf logger, ArchiveBuilder.ArchiveType archiveType) Contructor used as build method for this classArchiveBuilderBase(File fromDir, File toArchive, LoggerInf logger, ArchiveBuilderBase.ArchiveType archiveType) Contructor used as build method for this classArchiveBuilderBase(File fromDir, OutputStream outputStream, LoggerInf logger, ArchiveBuilderBase.ArchiveType archiveType) Contructor used as build method for this classFile name normalization using default translation MapFile name normalization using provided translation MapFixityTests(File file, String checksumType, LoggerInf inLogger) Constructur - primary form Performs checksum creation on file and extacts file sizeFixityTests(InputStream ioStream, String checksumType, LoggerInf inLogger) Constructer - primary form Performs checksum creation on file and extacts file sizeListProcessorSimple(TFrame framework) protectedLockContent(String lockContent) Lock info extracted from stringMessageDigestValue(File file, String checksumTypeS, LoggerInf inLogger) Constructur - primary form Performs checksum creation on file and extacts file sizeMessageDigestValue(InputStream inputStream, String checksumTypeS, LoggerInf inLogger) Constructer - primary form Performs checksum creation on file and extacts file sizeTar(File fromDir, File toArchive, LoggerInf logger, ArchiveBuilder.ArchiveType archiveType) Tar(File fromDir, OutputStream outputStream, LoggerInf logger) Tar(File fromDir, OutputStream outputStream, LoggerInf logger, ArchiveBuilder.ArchiveType archiveType) Tar(File fromDir, File toArchive, LoggerInf logger, ArchiveBuilderBase.ArchiveType archiveType) Tar(File fromDir, OutputStream outputStream, LoggerInf logger) Tar(File fromDir, OutputStream outputStream, LoggerInf logger, ArchiveBuilderBase.ArchiveType archiveType) TarGZ(File fromDir, OutputStream outputStream, LoggerInf logger) TarGZ(File fromDir, OutputStream outputStream, LoggerInf logger) TFileLogger(String mFrameID, String filePath, Properties prop) Constructs a framework, loading properties from one or more property files.Constructs a framework, loading properties from one or more property files.Constructs a framework, loading properties from one or more property files.TFrameInit(javax.servlet.ServletConfig servletConfig, String serviceName) Check InitParameters from web.xml to discover Properties files then build TFrame properties resolverConstructorZip(File fromDir, File toArchive, LoggerInf logger, ArchiveBuilder.ArchiveType archiveType) Zip(File fromDir, OutputStream outputStream, LoggerInf logger) Zip(File fromDir, File toArchive, LoggerInf logger, ArchiveBuilderBase.ArchiveType archiveType) Zip(File fromDir, OutputStream outputStream, LoggerInf logger)