public class FileConnection extends BaseConnection implements org.teiid.file.VirtualFileConnection
Constructor and Description |
---|
FileConnection(String parentDirectory,
Map<String,String> fileMapping,
boolean allowParentPaths) |
Modifier and Type | Method and Description |
---|---|
void |
add(InputStream in,
String path) |
void |
close() |
org.teiid.file.VirtualFile[] |
getFiles(String location) |
boolean |
remove(String path) |
public void add(InputStream in, String path) throws org.teiid.translator.TranslatorException
add
in interface org.teiid.file.VirtualFileConnection
org.teiid.translator.TranslatorException
public boolean remove(String path) throws org.teiid.translator.TranslatorException
remove
in interface org.teiid.file.VirtualFileConnection
org.teiid.translator.TranslatorException
public org.teiid.file.VirtualFile[] getFiles(String location) throws org.teiid.translator.TranslatorException
getFiles
in interface org.teiid.file.VirtualFileConnection
org.teiid.translator.TranslatorException
Copyright © 2020. All rights reserved.