Examples of NamesExceptionHandler


Examples of org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler

   public void testZipEntriesInit() throws Exception
   {
      URL url = getResource("/vfs/test");
      VFS vfs = VFS.getVFS(url);
      vfs.setExceptionHandler(new NamesExceptionHandler("_sqljdbc.jar"));
      VirtualFile root = vfs.getRoot();
      VirtualFile zipeinit = root.findChild("zipeinit.jar");
      VirtualFile child = zipeinit.findChild("sqljdbc.jar");
      List<VirtualFile> children = child.getChildren();
      assertTrue(children.isEmpty());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.