@Test public void checkNotAcceptNonGraphPath() { final Path path = mock( Path.class ); when( path.getFileName() ).thenReturn( "a-file.txt" ); assertFalse( type.accept( path ) ); }
@Override public boolean accept(final Path path) { return path.getFileName().endsWith("." + getSuffix()); }
GuidedDTableGraphResourceTypeDefinition implements ResourceTypeDefinition { @Override public boolean accept(final Path path) { return path.getFileName().endsWith("." + getSuffix()); } }
GuidedDTableGraphResourceTypeDefinition implements ResourceTypeDefinition { @Override public boolean accept(final Path path) { return path.getFileName().endsWith("." + getSuffix()); } GuidedDTableGraphResourceTypeDefinition(); @Inject  GuidedDTableGraphResourceTypeDefinition(final Decision category); }
GuidedDTableGraphResourceTypeDefinition implements ResourceTypeDefinition { @Override public boolean accept(final Path path) { return path.getFileName().endsWith("." + getSuffix()); } GuidedDTableGraphResourceTypeDefinition(); @Inject  GuidedDTableGraphResourceTypeDefinition(final Decision category); @Override Category getCategory(); @Override String getShortName(); @Override String getDescription(); @Override String getPrefix(); @Override String getSuffix(); @Override int getPriority(); @Override String getSimpleWildcardPattern(); @Override boolean accept(final Path path); }
GuidedDTableGraphResourceTypeDefinition implements ResourceTypeDefinition { @Override public boolean accept(final Path path) { return path.getFileName().endsWith("." + getSuffix()); } GuidedDTableGraphResourceTypeDefinition(); @Inject  GuidedDTableGraphResourceTypeDefinition(final Decision category); @Override Category getCategory(); @Override String getShortName(); @Override String getDescription(); @Override String getPrefix(); @Override String getSuffix(); @Override int getPriority(); @Override String getSimpleWildcardPattern(); @Override boolean accept(final Path path);  }