All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.zhengframework.configuration.io.FileSystem Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
package com.github.zhengframework.configuration.io;

import com.github.zhengframework.configuration.ex.ConfigurationException;
import java.io.InputStream;
import java.net.URL;

public abstract class FileSystem {

  private volatile FileOptionsProvider optionsProvider;

  public FileOptionsProvider getFileOptionsProvider() {
    return this.optionsProvider;
  }

  public void setFileOptionsProvider(final FileOptionsProvider provider) {
    this.optionsProvider = provider;
  }

  public abstract InputStream getInputStream(URL url) throws ConfigurationException;

  public abstract URL locateFromURL(String basePath, String fileName);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy