Code example for ZipEntry

Methods: getName

0
 
		@Override 
		public boolean matches(Object argument) { 
			if (argument instanceof ZipEntry) {
				ZipEntry arg = (ZipEntry) argument;
				return entry.getName().equals(arg.getName());
			} 
 
			return false; 
		} 
	} 
 
	@Test
	public void testCFIgnoreRules() throws Exception {
 
		ZipOutputStream mockZos = mock(ZipOutputStream.class);
 
		String LOCATION = "testData/packagerTest/01"; //$NON-NLS-1$
		URL entry = ServerTestsActivator.getContext().getBundle().getEntry(LOCATION);
		IFileStore source = EFS.getStore(URIUtil.toURI(FileLocator.toFileURL(entry).getPath()));