Compact Class For Java – CCPath


Compact Class is a collection of common functions and classes that can make your code more concise, fast, and precise.

utility

Class CCPath

java.lang.Object

extended by

utility.CCSystem

extended by

utility.CCPath

public class CCPathextends CCSystem

CCPath is a collection of methods that get the default path used by the
application.

Since:
10.03.17
Version:
12.03.17
Author:
Yosua Onesimus


Field Detail

conf

protected static final java.lang.String conf
conf = “config”
See Also:
Constant Field Values

arch

protected static final java.lang.String arch
arch = “archive”
See Also:
Constant Field Values

temp

protected static final java.lang.String temp
temp = “temp”
See Also:
Constant Field Values

back

protected static final java.lang.String back
back = “backup”
See Also:
Constant Field Values


Constructor Detail

CCPath

public CCPath()


Method Detail

_get

protected static java.lang.String _get(java.lang.String parent,
                                       java.lang.String child)
Parameters:
parent
child

Returns:String


_get

protected static java.lang.String _get(java.lang.String path)
Parameters:
path

Returns:String


getClassPath

public static java.lang.String getClassPath(java.lang.Class clazz)
Gets the file name of this URL.

 

Parameters:
clazz

 

Returns:the file name of this URL, or an empty string if one does not
exist


initApplPath

public static void initApplPath(java.lang.String applPath)
Parameters:
applPath

getDeskPath

public static java.lang.String getDeskPath()
Returns:
deskPath

getApplPath

public static java.lang.String getApplPath()
Returns:
applPath

getFilePath

public static java.lang.String getFilePath()
Returns:
filePath

getFileSystPath

public static java.lang.String getFileSystPath()
Returns:
fileSystPath

getFileSystJaspPath

public static java.lang.String getFileSystJaspPath()
Returns:
fileSystJaspPath

getFileSystConfPath

public static java.lang.String getFileSystConfPath()
Returns:
fileSystConfPath

getFileSystArchPath

public static java.lang.String getFileSystArchPath()
Returns:
fileSystArchPath

getFileSystArchPath

public static java.lang.String getFileSystArchPath(java.lang.Class clazz)
Parameters:
clazz

Returns:fileSystArchPath for class


getFileSystTempPath

public static java.lang.String getFileSystTempPath()
Returns:
fileSystTempPath

getFileSystBackPath

public static java.lang.String getFileSystBackPath()
Returns:
fileSystBackPath

getFileSystTempFile

public static java.io.File getFileSystTempFile()
Returns:
systTempFile

getFileSystBellFile

public static java.io.File getFileSystBellFile()
Returns:
systBellFile

getFileSystFeedFile

public static java.io.File getFileSystFeedFile()
Returns:
systFeedFile

getFileSystBackFile

public static java.io.File getFileSystBackFile(java.lang.String file)
Returns:
systBackFile
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: