mirror of
https://github.com/Noratrieb/UMLetClassParser.git
synced 2026-01-15 09:05:05 +01:00
javadoc and regex now Pattern
This commit is contained in:
parent
cb331331f1
commit
2daa47aed8
8 changed files with 76 additions and 27 deletions
|
|
@ -3,6 +3,9 @@ import java.io.FileWriter;
|
|||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* Manages everything about the parsing
|
||||
*/
|
||||
public class UMLManager {
|
||||
|
||||
private UMLClassView view;
|
||||
|
|
@ -14,6 +17,11 @@ public class UMLManager {
|
|||
view.setManager(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts the class text into compilable Java files at the package destination containing the code
|
||||
* @param classesText An ArrayList of Type String containing all classes in UML text represantation
|
||||
* @param packagePath The path to the package where the classes should be stored to
|
||||
*/
|
||||
public void parseClasses(ArrayList<String> classesText, String packagePath) {
|
||||
|
||||
String packageString = packagePath.replaceAll(".*src\\\\(.*)", "$1");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue