Compare commits
No commits in common. "origin/main" and "master" have entirely different histories.
origin/mai
...
master
0
jcmd/.idea/.gitignore → .idea/.gitignore
generated
vendored
0
jcmd/.idea/.gitignore → .idea/.gitignore
generated
vendored
0
jcmd/.idea/misc.xml → .idea/misc.xml
generated
0
jcmd/.idea/misc.xml → .idea/misc.xml
generated
1
jcmd/.idea/vcs.xml → .idea/vcs.xml
generated
1
jcmd/.idea/vcs.xml → .idea/vcs.xml
generated
@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
1
Git_Repo
1
Git_Repo
@ -1 +0,0 @@
|
||||
Subproject commit 391adc8f616e2adc916c5179721491e07c64ec50
|
||||
BIN
jcmd/.DS_Store
vendored
BIN
jcmd/.DS_Store
vendored
Binary file not shown.
@ -1,78 +0,0 @@
|
||||
package de.vimo.core;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class Line {
|
||||
|
||||
private String command;
|
||||
|
||||
private List<String> flags;
|
||||
|
||||
private List<String> args;
|
||||
|
||||
public Line(String command, List<String> flags, List<String> args) {
|
||||
this.command = command;
|
||||
this.flags = flags;
|
||||
this.args = args;
|
||||
}
|
||||
|
||||
public Line(String command) {
|
||||
this.command = command;
|
||||
}
|
||||
|
||||
|
||||
public String getCommand() {
|
||||
return command;
|
||||
}
|
||||
|
||||
public List<String> getFlags() {
|
||||
return flags;
|
||||
}
|
||||
|
||||
public List<String> getArgs() {
|
||||
return args;
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public Line parse(String raw) {
|
||||
// String regex = "[\\s]";
|
||||
// String[] myArray = raw.split(regex);
|
||||
//
|
||||
// for (int i = 1; i < myArray.length; i++) {
|
||||
// if (myArray[i].contains("-")) {
|
||||
// flags.add(myArray[i]);
|
||||
// } else {
|
||||
// args.add(myArray[i]);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// return new Line(myArray[0], flags, args);
|
||||
// }
|
||||
|
||||
//
|
||||
// --- Please ignore this ---
|
||||
//
|
||||
// private final Command command;
|
||||
//
|
||||
// private final List<Flag> flags;
|
||||
//
|
||||
// private final List<Argument> args;
|
||||
//
|
||||
// public Line(Command command, List<Flag> flags, List<Argument> args) {
|
||||
// this.command = command;
|
||||
// this.flags = flags;
|
||||
// this.args = args;
|
||||
// }
|
||||
//
|
||||
// public Command getCommand() {
|
||||
// return command;
|
||||
// }
|
||||
//
|
||||
// public List<Flag> getFlags() {
|
||||
// return flags;
|
||||
// }
|
||||
//
|
||||
// public List<Argument> getArgs() {
|
||||
// return args;
|
||||
// }
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@ -75,8 +75,8 @@
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>11</source>
|
||||
<target>11</target>
|
||||
<source>9</source>
|
||||
<target>9</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
0
jcmd/src/.DS_Store → src/.DS_Store
vendored
0
jcmd/src/.DS_Store → src/.DS_Store
vendored
31
src/main/java/de/vimo/core/Line.java
Normal file
31
src/main/java/de/vimo/core/Line.java
Normal file
@ -0,0 +1,31 @@
|
||||
package de.vimo.core;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class Line {
|
||||
|
||||
private String command;
|
||||
|
||||
private List<String> flags;
|
||||
|
||||
private List<String> args;
|
||||
|
||||
public Line(String command, List<String> flags, List<String> args) {
|
||||
this.command = command;
|
||||
this.flags = flags;
|
||||
this.args = args;
|
||||
}
|
||||
|
||||
public String getCommand() {
|
||||
return command;
|
||||
}
|
||||
|
||||
public List<String> getFlags() {
|
||||
return flags;
|
||||
}
|
||||
|
||||
public List<String> getArgs() {
|
||||
return args;
|
||||
}
|
||||
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/de/vimo/core/ParserVivi.class
Normal file
BIN
target/classes/de/vimo/core/ParserVivi.class
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user