Package ca.phon.session.format
Class MediaSegmentFormatter
java.lang.Object
ca.phon.session.format.MediaSegmentFormatter
- All Implemented Interfaces:
Formatter<MediaSegment>
@FormatterType(MediaSegment.class)
public class MediaSegmentFormatter
extends Object
implements Formatter<MediaSegment>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionformat
(MediaSegment obj) Convert the given object into a formatted String.Parse the given string into a new object instance
-
Constructor Details
-
MediaSegmentFormatter
public MediaSegmentFormatter()
-
-
Method Details
-
format
Description copied from interface:Formatter
Convert the given object into a formatted String.- Specified by:
format
in interfaceFormatter<MediaSegment>
- Returns:
- formatted string
-
parse
Description copied from interface:Formatter
Parse the given string into a new object instance- Specified by:
parse
in interfaceFormatter<MediaSegment>
- Returns:
- parsed object
- Throws:
ParseException
- if there was a problem parsing the given text
-