Code example for Pattern

Methods: split

0
     */ 
    public static String[] splitComma(CharSequence input) {
        if (input == null) return new String[0];
        return sCommaPattern.split(input);
    } 
 
    /** 
     * Build and return a new {@link XmlPullParser} with the given 
     * {@link InputStream} assigned to it. 
     */ 
    public static XmlPullParser newPullParser(InputStream input) throws XmlPullParserException {
        if (sFactory == null) {
            sFactory = XmlPullParserFactory.newInstance();
        } 
        final XmlPullParser parser = sFactory.newPullParser();
        parser.setInput(input, null);
        return parser;
    } 
 
    /** 
     * Parse the given string as a RFC 3339 timestamp, returning the value as