List of usage examples for org.apache.commons.text StrTokenizer StrTokenizer
public StrTokenizer(final char[] input, final StrMatcher delim, final StrMatcher quote)
From source file:com.twosigma.beakerx.kernel.magic.command.functionality.MagicCommandUtils.java
public static String[] splitPath(String command) { StrTokenizer tokenizer = new StrTokenizer(command, StrMatcher.spaceMatcher(), StrMatcher.quoteMatcher()); return tokenizer.getTokenArray(); }