intarsys runtime library

de.intarsys.tools.locator
Class ZipFileLocatorFactory

java.lang.Object
  extended by de.intarsys.tools.locator.CommonLocatorFactory
      extended by de.intarsys.tools.locator.ZipFileLocatorFactory
All Implemented Interfaces:
ILocatorFactory

public class ZipFileLocatorFactory
extends CommonLocatorFactory

! not yet functional ! Locate resources contained within a zip file.

Full syntax
zip::#
The zip locator itself may be any locator that can be resolved to an InputStream.


Constructor Summary
ZipFileLocatorFactory()
           
 
Method Summary
 ILocator createLocator(String location)
          Create a ILocator object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipFileLocatorFactory

public ZipFileLocatorFactory()
Method Detail

createLocator

public ILocator createLocator(String location)
                       throws IOException
Description copied from interface: ILocatorFactory
Create a ILocator object.

path may for example define a file in the file system.

Parameters:
location - A location definition.
Returns:
The ILocator object created from the location.
Throws:
IOException

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.