A E F G I L M N O R S V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ArgumentVector - Class in org.cristian.fundamentum
-
This class provides with a easy-to-use abstract class for creating CLI programs.
- ArgumentVector(String[]) - Constructor for class org.cristian.fundamentum.ArgumentVector
-
Initializes the CLI program class with the supplied raw argument vector.
- ArgumentVector.Alias - Annotation Type in org.cristian.fundamentum
-
This annotation can be used to give an alias to a command or a parameter.
- ArgumentVector.Command - Annotation Type in org.cristian.fundamentum
-
This annotation is used to declare a class method as a command.
- ArgumentVector.Copyright - Annotation Type in org.cristian.fundamentum
-
This annotation can be used to give some information about the program's class copyright.
- ArgumentVector.Description - Annotation Type in org.cristian.fundamentum
-
This annotation can be used to give a meaningful description to a command, parameter or the program's class.
- ArgumentVector.Name - Annotation Type in org.cristian.fundamentum
-
This annotation can be used to give a name to the program's class.
- ArgumentVector.Parameter - Annotation Type in org.cristian.fundamentum
-
This annotation is used to declare a class field as a parameter.
E
- errorHandler(String, int) - Method in class org.cristian.fundamentum.ArgumentVector
-
Override this method if you want to handle errors by yourself.
- exists(String) - Static method in class org.cristian.fundamentum.FileSystem
-
Returns true if in the given path exists an element, false otherwise.
- extractFileExtension(String) - Static method in class org.cristian.fundamentum.FileSystem
-
This method extracts the extension from the given filename.
F
- FileSystem - Class in org.cristian.fundamentum
-
Some static methods to handle the filesystem.
- FileSystem() - Constructor for class org.cristian.fundamentum.FileSystem
G
- getHelp() - Method in class org.cristian.fundamentum.ArgumentVector
-
Generate a help text for this CLI program.
- getJARDirectoryPath() - Static method in class org.cristian.fundamentum.FileSystem
-
This method returns a string with the jar directory path of this program.
- getJARDirectoryPath(Class<?>) - Static method in class org.cristian.fundamentum.FileSystem
-
This method returns a string with the jar directory path of this program.
- getJARPath() - Static method in class org.cristian.fundamentum.FileSystem
-
This method returns a string with the jar path of this program.
- getJARPath(Class<?>) - Static method in class org.cristian.fundamentum.FileSystem
-
This method returns a string with the jar path of this program.
- getResource(String) - Static method in class org.cristian.fundamentum.FileSystem
-
Returns an InputStream of the resource specified in Name.
- getResource(String, Class<?>) - Static method in class org.cristian.fundamentum.FileSystem
-
Returns an InputStream of the resource specified in Name.
- guiLauncher() - Method in class org.cristian.fundamentum.ArgumentVector
-
Override this method if you want to launch a GUI interface like a Swing program.
I
- isDirectory(String) - Static method in class org.cristian.fundamentum.FileSystem
-
Like the name implies, this method returns true if the element is a directory.
- isFile(String) - Static method in class org.cristian.fundamentum.FileSystem
-
Like the name implies, this method returns true if the element is a file.
L
- loadConfig(String) - Static method in class org.cristian.fundamentum.FileSystem
-
Loads a configuration file located in the specified path.
M
- makeDirectoryIfNotExists(String) - Static method in class org.cristian.fundamentum.FileSystem
-
This method creates a directory if the directory doesn't exists.
- makeDirectoryIfNotExists(String[]) - Static method in class org.cristian.fundamentum.FileSystem
-
This method creates directories if the directories doesn't exists.
N
- noArgumentHandler() - Method in class org.cristian.fundamentum.ArgumentVector
-
Override this method if you want to handle a no-argument situation by yourself.
- noCommandHandler() - Method in class org.cristian.fundamentum.ArgumentVector
-
Override this method if you want to handle no-command situations by yourself.
O
- org.cristian.fundamentum - package org.cristian.fundamentum
R
- resourceExists(String) - Static method in class org.cristian.fundamentum.FileSystem
-
Checks if the given resource name exists in path.
- resourceExists(String, Class<?>) - Static method in class org.cristian.fundamentum.FileSystem
-
Checks if the given resource name exists in path.
- run() - Method in class org.cristian.fundamentum.ArgumentVector
-
Execute this CLI program.
S
- saveConfig(Properties, String) - Static method in class org.cristian.fundamentum.FileSystem
-
Saves a Properties object to a file specified in the SavePath parameter.
- saveConfig(Properties, String, String) - Static method in class org.cristian.fundamentum.FileSystem
-
Saves a Properties object to a file specified in the SavePath parameter.
- scanDirectory(String) - Static method in class org.cristian.fundamentum.FileSystem
-
Scans the given directory and returns a File array with all the files and directories found in.
- scanDirectory(String, boolean) - Static method in class org.cristian.fundamentum.FileSystem
-
Scans the given directory and returns a File array with all the files and directories found in.
- scanDirectory(String, boolean, int) - Static method in class org.cristian.fundamentum.FileSystem
-
Scans the given directory and returns a File array with all the files and directories found in.
V
- value() - Method in annotation type org.cristian.fundamentum.ArgumentVector.Alias
- value() - Method in annotation type org.cristian.fundamentum.ArgumentVector.Copyright
- value() - Method in annotation type org.cristian.fundamentum.ArgumentVector.Description
- value() - Method in annotation type org.cristian.fundamentum.ArgumentVector.Name
All Classes All Packages