List of usage examples for org.apache.commons.text StrMatcher spaceMatcher
public static StrMatcher spaceMatcher()
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(); }