MCPcopy Create free account
hub / github.com/OpenAS2/OpenAs2App / usage

Method usage

Server/src/main/java/SplitCsvFile.java:38–49  ·  view source on GitHub ↗
(Options options)

Source from the content-addressed store, hash-verified

36 };
37
38 private void usage(Options options) {
39 String header = "Splits CSV file." + "\nReads the file as a line based file creating new files that will not exceed the specified maximum size.";
40 String footer = "NOTE: The file is expected to contain lines separated by newline characters.";
41
42 HelpFormatter formatter = HelpFormatter.builder().get();
43 try {
44 formatter.printHelp(this.getClass().getName(), header, options, footer, true);
45 } catch (IOException e) {
46 // TODO Auto-generated catch block
47 e.printStackTrace();
48 }
49 }
50
51 private CommandLine parseCommandLine(String[] args) {
52 // create the command line parser

Callers 1

parseCommandLineMethod · 0.95

Calls 2

getMethod · 0.80
getNameMethod · 0.65

Tested by

no test coverage detected