Class Loader
java.lang.Object
jwat.input.Loader
- All Implemented Interfaces:
JWATConstants
Loads data files of the JWAT tool.
-
Field Summary
Fields inherited from interface JWATConstants
BUTTONSIZE, DATE, defaultFormat, EXAMPLE_PATH, FITTING_EXPO_PANEL, FITTING_INPUT_PANEL, FITTING_PARETO_PANEL, FUZZYK, HTML_FONT_SMALL, HTML_FONT_TIT_END_NO_CAPO, INPUT_MSG_ABORT, INPUT_MSG_ABORT_WRONG_FORMAT, INPUT_MSG_FAIL, KMEANS, LOG_FILE_NAME, NUMERIC, STRING, TRAFFIC_EPOCH_PANEL, TRAFFIC_GRAPH_PANEL, TRAFFIC_GRAPHARRIVAL_PANEL, TRAFFIC_INPUT_PANEL, TRAFFIC_TEXTUAL_PANEL, WORKLOAD_BIVARIATE_PANEL, WORKLOAD_CLUSTERING_PANEL, WORKLOAD_INFOCLUSTERING_PANEL, WORKLOAD_INPUT_PANEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intcalcNumOfObs(String filePath) static ParameterloadParameter(File demoPath, String demoName) static voidloadSession(String fileName, ProgressShow prShow, ProgressStatusListener pStatusList, JwatSession session) This function reads a specific session from an XML filestatic voidreadData(String filePath, Parameter param, ProgressShow prShow, ProgressStatusListener pStatusList)
-
Constructor Details
-
Loader
public Loader()
-
-
Method Details
-
calcNumOfObs
- Throws:
FileNotFoundExceptionIOException
-
readData
public static void readData(String filePath, Parameter param, ProgressShow prShow, ProgressStatusListener pStatusList) -
loadParameter
public static Parameter loadParameter(File demoPath, String demoName) throws FileNotFoundException, IOException - Throws:
FileNotFoundExceptionIOException
-
loadSession
public static void loadSession(String fileName, ProgressShow prShow, ProgressStatusListener pStatusList, JwatSession session) This function reads a specific session from an XML file- Parameters:
fileName- the XML file to load
-