}
private void parseVRule(RrdGraphDef graphDef, String word) throws RrdException {
String[] tokens1 = new ColonSplitter(word).split();
if (tokens1.length < 2 || tokens1.length > 3) {
throw new RrdException("Invalid VRULE statement: " + word);
}
String[] tokens2 = tokens1[1].split("#");
if (tokens2.length != 2) {
throw new RrdException("Invalid VRULE statement: " + word);
}
long timestamp = Util.getTimestamp(tokens2[0]);
Paint color = Util.parseColor(tokens2[1]);
graphDef.vrule(timestamp, color, tokens1.length == 3 ? tokens1[2] : null);
}