net.krecan.m2_proxy.store
Class FileStore
java.lang.Object
net.krecan.m2_proxy.repository.FileRepository
net.krecan.m2_proxy.store.FileStore
- All Implemented Interfaces:
- Repository, Store
public class FileStore
- extends FileRepository
- implements Store
Stores artifacts on the file system.
- Author:
- Lukas Krecan
FileStore
public FileStore()
toString
public String toString()
- Overrides:
toString
in class Object
storeResource
public Resource storeResource(Resource resource)
throws IOException
- Stores resource. Downloads from repository to the temporary file.
Then copies the file to the destination.
- Specified by:
storeResource
in interface Store
- Returns:
- resource that can be read
- Throws:
IOException
Copyright © 2006 null. All Rights Reserved.