@Test public void testShouldDetectText() throws Exception { assertThat(decoder.decode("TEXT")).isEqualTo(SectionType.TEXT); assertThat(decoder.decode("3.TEXT")).isEqualTo(SectionType.TEXT); assertThat(decoder.decode("3.1.TEXT")).isEqualTo(SectionType.TEXT); assertThat(decoder .decode("3.2.5.7.8.TEXT")).isEqualTo(SectionType.TEXT); }
public SectionType decode(CharSequence sectionSpecification) throws DecodingException { init(); sectionType = decode(0, sectionSpecification); prunePath(); return sectionType; }
FetchPartPathDecoder { public SectionType decode(CharSequence sectionSpecification) throws DecodingException { init(); sectionType = decode(0, sectionSpecification); prunePath(); return sectionType; } }
FetchPartPathDecoder { public SectionType decode(CharSequence sectionSpecification) throws DecodingException { init(); sectionType = decode(0, sectionSpecification); prunePath(); return sectionType; } FetchPartPathDecoder(); }
FetchPartPathDecoder { public SectionType decode(CharSequence sectionSpecification) throws DecodingException { init(); sectionType = decode(0, sectionSpecification); prunePath(); return sectionType; } FetchPartPathDecoder(); SectionType decode(CharSequence sectionSpecification); final int[] getPath(); final SectionType getSpecifier(); final List<String> getNames(); }
FetchPartPathDecoder { public SectionType decode(CharSequence sectionSpecification) throws DecodingException { init(); sectionType = decode(0, sectionSpecification); prunePath(); return sectionType; } FetchPartPathDecoder(); SectionType decode(CharSequence sectionSpecification); final int[] getPath(); final SectionType getSpecifier(); final List<String> getNames();  }