@Test public void testMatches() throws Exception { URL inMemo1 = factory.createInMemoryResource("toto.txt"); assertThat(underTest.matches(inMemo1)).isTrue(); }
@Override public boolean matches(URL url) throws Exception { return url != null && url.getProtocol().equalsIgnoreCase("inmemory"); }
InMemoryUrlType implements UrlType { @Override public boolean matches(URL url) throws Exception { return url != null && url.getProtocol().equalsIgnoreCase("inmemory"); } }
InMemoryUrlType implements UrlType { @Override public boolean matches(URL url) throws Exception { return url != null && url.getProtocol().equalsIgnoreCase("inmemory"); } InMemoryUrlType( ); }
InMemoryUrlType implements UrlType { @Override public boolean matches(URL url) throws Exception { return url != null && url.getProtocol().equalsIgnoreCase("inmemory"); } InMemoryUrlType( ); @Override boolean matches(URL url); @Override Dir createDir(URL url); }
InMemoryUrlType implements UrlType { @Override public boolean matches(URL url) throws Exception { return url != null && url.getProtocol().equalsIgnoreCase("inmemory"); } InMemoryUrlType( ); @Override boolean matches(URL url); @Override Dir createDir(URL url);  }