Example usage for org.apache.commons.text StrMatcher quoteMatcher

List of usage examples for org.apache.commons.text StrMatcher quoteMatcher

Introduction

In this page you can find the example usage for org.apache.commons.text StrMatcher quoteMatcher.

Prototype

public static StrMatcher quoteMatcher() 

Source Link

Document

Returns a matcher which matches the single or double quote character.

Usage

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();
}