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

gw.lang.reflect.module.IFileSystem Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.reflect.module;

import gw.config.IService;
import gw.fs.IDirectory;
import gw.fs.IFile;
import gw.lang.UnstableAPI;

import java.io.File;
import java.net.URL;
import java.nio.file.Path;

@UnstableAPI
public interface IFileSystem extends IService {

  IDirectory getIDirectory(File dir);

  IDirectory getIDirectory( Path dir );

  IFile getIFile(File file);

  IFile getIFile( Path file );

  void setCachingMode(CachingMode cachingMode);

  void clearAllCaches();

  IDirectory getIDirectory(URL url);

  IFile getIFile( URL url );

  IFile getFakeFile(URL url, IModule module);

  public enum CachingMode {
    NO_CACHING,
    CHECK_TIMESTAMPS,
    FUZZY_TIMESTAMPS,
    FULL_CACHING
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy