Package com.barchart.udt.lib
Class ResourceManagerUDT
java.lang.Object
com.barchart.udt.lib.ResourceManagerUDT
class path resource extractor and system loader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidensureTargetFolder(File folder) protected static voidensureTargetFolder(String targetFolder) protected static voidextractResource(String sourcePath, String targetPath) extract resource from class path into local file systemprotected static URLConnectionfileConnection(File file) protected static booleanisSameResource(URLConnection conONE, URLConnection conTWO) protected static voidsystemLoad(String targetPath) load library using absolute file pathprotected static voidsystemLoad(String sourcePath, String targetPath) load library using absolute file pathprotected static longtimeStamp(URLConnection connIN) will use time stamp of jar file
-
Field Details
-
log
protected static final org.slf4j.Logger log -
EOF
protected static final int EOF- See Also:
-
-
Constructor Details
-
ResourceManagerUDT
public ResourceManagerUDT()
-
-
Method Details
-
isSameResource
protected static boolean isSameResource(URLConnection conONE, URLConnection conTWO) throws Exception - Throws:
Exception
-
fileConnection
- Throws:
Exception
-
timeStamp
will use time stamp of jar file -
extractResource
extract resource from class path into local file system- Throws:
Exception
-
ensureTargetFolder
- Throws:
Exception
-
ensureTargetFolder
- Throws:
Exception
-
systemLoad
load library using absolute file path- Throws:
Exception
-
systemLoad
load library using absolute file path- Throws:
Exception
-