/** * This method is called by the concrete parsers to delegate * timestamp parsing to the timestamp parser. * * @param timestampStr the timestamp string pulled from the * file listing by the regular expression parser, to be submitted * to the <code>timestampParser</code> for extracting the timestamp. * @return a <code>java.util.Calendar</code> containing results of the * timestamp parse. * @throws ParseException on parse error */ public Calendar parseTimestamp(String timestampStr) throws ParseException { return this.timestampParser.parseTimestamp(timestampStr); }
/** * This method is called by the concrete parsers to delegate * timestamp parsing to the timestamp parser. * <p> * @param timestampStr the timestamp string pulled from the * file listing by the regular expression parser, to be submitted * to the <code>timestampParser</code> for extracting the timestamp. * @return a <code>java.util.Calendar</code> containing results of the * timestamp parse. */ public Calendar parseTimestamp(String timestampStr) throws ParseException { return this.timestampParser.parseTimestamp(timestampStr); }
/** * This method is called by the concrete parsers to delegate * timestamp parsing to the timestamp parser. * <p> * @param timestampStr the timestamp string pulled from the * file listing by the regular expression parser, to be submitted * to the <code>timestampParser</code> for extracting the timestamp. * @return a <code>java.util.Calendar</code> containing results of the * timestamp parse. */ public Calendar parseTimestamp(String timestampStr) throws ParseException { return this.timestampParser.parseTimestamp(timestampStr); }
f.setTimestamp(timestampParser.parseTimestamp(datestr));