本文整理了Java中org.apache.gobblin.config.store.zip.ZipFileConfigStore.<init>()
方法的一些代码示例,展示了ZipFileConfigStore.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZipFileConfigStore.<init>()
方法的具体详情如下:
包路径:org.apache.gobblin.config.store.zip.ZipFileConfigStore
类名称:ZipFileConfigStore
方法名:<init>
[英]Construct a ZipFileConfigStore
[中]构建ZipFileConfigStore
代码示例来源:origin: apache/incubator-gobblin
@BeforeClass
public void setUp() throws URISyntaxException, ConfigStoreCreationException, IOException {
Path path = Paths.get(this.getClass().getClassLoader().getResource("zipStoreTest.zip").getPath());
FileSystem fs = FileSystems.newFileSystem(path, null);
this.store = new ZipFileConfigStore((ZipFileSystem) fs, path.toUri(), this.version, "_CONFIG_STORE");
}
代码示例来源:origin: apache/incubator-gobblin
return new ZipFileConfigStore((ZipFileSystem) zipFs, getBaseURI(configKey), currentVersion, factoryProps.getProperty(STORE_PREFIX_KEY, ""));
} catch (IOException | URISyntaxException e) {
throw new ConfigStoreCreationException(configKey, e);
代码示例来源:origin: org.apache.gobblin/gobblin-config-core
return new ZipFileConfigStore((ZipFileSystem) zipFs, getBaseURI(configKey), currentVersion, factoryProps.getProperty(STORE_PREFIX_KEY, ""));
} catch (IOException | URISyntaxException e) {
throw new ConfigStoreCreationException(configKey, e);
内容来源于网络,如有侵权,请联系作者删除!