Package builder
Class FunctionsExtractor
java.lang.Object
builder.FunctionsExtractor
Class used to extract the functions from the MEOS library.
Run with directly with java through the main class
- Since:
- 27/06/2023
- Author:
- Killian Monnier
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetStructureNames
(String filePath) Retrieves structure names from file.Get types from a file.static void
Launch process of extraction.
-
Field Details
-
FUNCTION_PATTERN
- See Also:
-
TYPES_PATTERN
- See Also:
-
inputFilePath
-
outputFunctionsFilePath
-
outputTypesFilePath
-
currentDir
String currentDir
-
-
Constructor Details
-
FunctionsExtractor
Constructor ofFunctionsExtractor
.- Throws:
URISyntaxException
- thrown when resources not found
-
-
Method Details
-
main
Launch process of extraction.- Parameters:
args
- arguments- Throws:
URISyntaxException
- thrown when resources not found
-
getStructureNames
Retrieves structure names from file.- Parameters:
filePath
- file path- Returns:
- list of structure names
-
getTypesFromFile
Get types from a file.- Returns:
- the list of lines
-