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

gw.fs.physical.IPhysicalFileSystem Maven / Gradle / Ivy

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

package gw.fs.physical;

import gw.fs.ResourcePath;
import gw.lang.UnstableAPI;

import java.util.List;

@UnstableAPI
public interface IPhysicalFileSystem {

  List listFiles(ResourcePath directoryPath);

  IFileMetadata getFileMetadata(ResourcePath filePath);

  boolean exists(ResourcePath filePath);

  boolean delete(ResourcePath filePath);

  boolean mkdir(ResourcePath dirPath);

  void clearDirectoryCaches(ResourcePath dirPath);

  void clearAllCaches();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy