mirror of
https://github.com/Noratrieb/UMLetClassParser.git
synced 2026-01-15 00:55:04 +01:00
can now get java code from path to console
This commit is contained in:
parent
09b837ca29
commit
5b0937a8eb
6 changed files with 154 additions and 46 deletions
|
|
@ -20,7 +20,6 @@ public class UMLField {
|
|||
public UMLField(String line) {
|
||||
|
||||
String formatted = line.replaceAll("([+\\-~#]) ((?:[a-z]|[A-Z]|[0-1])+): (.*)", "$1;$3;$2");
|
||||
System.out.println(formatted);
|
||||
String[] formattedSplit = formatted.split(";");
|
||||
|
||||
this.encapsulation = switch (formattedSplit[0]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue