Code example for Splitter

Methods: split

0
        } 
        return line;
    } 
     
    public List<String> split(String line) {
        return ImmutableList.copyOf(Iterables.transform(splitter.split(line), new Function<String, String>() {
            @Override 
            public String apply(String input) {
                return input.trim();
            } 
        })); 
    } 
     
    private boolean isComment(String line) {
        return line.startsWith("#");
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java