public static class ManagedResourceStorage.FileStorageIO extends Object implements ManagedResourceStorage.StorageIO
Constructor and Description |
---|
FileStorageIO() |
Modifier and Type | Method and Description |
---|---|
void |
configure(SolrResourceLoader loader,
NamedList<String> initArgs) |
boolean |
delete(String storedResourceId) |
boolean |
exists(String storedResourceId) |
String |
getInfo() |
InputStream |
openInputStream(String storedResourceId) |
OutputStream |
openOutputStream(String storedResourceId) |
public void configure(SolrResourceLoader loader, NamedList<String> initArgs) throws SolrException
configure
in interface ManagedResourceStorage.StorageIO
SolrException
public boolean exists(String storedResourceId) throws IOException
exists
in interface ManagedResourceStorage.StorageIO
IOException
public InputStream openInputStream(String storedResourceId) throws IOException
openInputStream
in interface ManagedResourceStorage.StorageIO
IOException
public OutputStream openOutputStream(String storedResourceId) throws IOException
openOutputStream
in interface ManagedResourceStorage.StorageIO
IOException
public boolean delete(String storedResourceId) throws IOException
delete
in interface ManagedResourceStorage.StorageIO
IOException
public String getInfo()
getInfo
in interface ManagedResourceStorage.StorageIO
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.