DirEntry implements Serializable { public List<String> getNameFragments() { return Collections.unmodifiableList(nameFragments); } DirEntry();  DirEntry(final String entryPath, final String name, final String author, final Date date, final Kind kind, long revision, long size); static DirList createDirectoryList(final List<DirEntry> entries, final Properties properties); String getId(); String getName(); CamelCasePattern getCamelCasePattern(); List<String> getNameFragments(); String getFullEntryName(); String getShortenedFullEntryName(); String getPath(); long getSize(); Kind getKind(); Date getDate(); long getRevision(); String getAuthor(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final int FULL_ENTRY_NAME_MAX_LENGTH; }
@Test public void testGetNameFragments() throws Exception { final DirEntry entry = new DirEntry("/trunk/", "ATestFile.java", "A", new Date(), DirEntry.Kind.FILE, 1, 1); assertEquals("[ATest, File, java]", entry.getNameFragments().toString()); }