ReaderTGFF { protected boolean isComment(String line) { return line.startsWith(COMMENT); }  SpecificationTypeBased read(String filename); SpecificationTypeBased read(File file); SpecificationTypeBased read(InputStream in); SpecificationTypeBased toSpecification(List<String> in); static final String TGFF_TYPE; static final String PERIOD; static final String MSG_SIZE; static final String RES_ATTRIBUTES; static final String RES_VALUES; static final String HARD_DEADLINE; static final String SOFT_DEADLINE; static final String WIRE; }
@Test public void testIsComment() { ReaderTGFF reader = new ReaderTGFF(); Assert.assertTrue(reader.isComment("# a comment")); Assert.assertFalse(reader.isComment("not a comment")); }