@@ -0,0 +1,2607 @@
+/*%0A * Licensed to the University of California, Berkeley under one or more contributor license%0A * agreements. See the NOTICE file distributed with this work for additional information regarding%0A * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the%0A * %22License%22); you may not use this file except in compliance with the License. You may obtain a%0A * copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software distributed under the License%0A * is distributed on an %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express%0A * or implied. See the License for the specific language governing permissions and limitations under%0A * the License.%0A */%0A%0Apackage tachyon.client.file;%0A%0Aimport tachyon.Path;%0Aimport tachyon.client.file.options.CreateOptions;%0Aimport tachyon.client.file.options.DeleteOptions;%0Aimport tachyon.client.file.options.FreeOptions;%0Aimport tachyon.client.file.options.GetInfoOptions;%0Aimport tachyon.client.file.options.ListStatusOptions;%0Aimport tachyon.client.file.options.LoadMetadataOptions;%0Aimport tachyon.client.file.options.MkdirOptions;%0Aimport tachyon.client.file.options.MountOptions;%0Aimport tachyon.client.file.options.OpenOptions;%0Aimport tachyon.client.file.options.RenameOptions;%0Aimport tachyon.client.file.options.SetStateOptions;%0Aimport tachyon.client.file.options.UnmountOptions;%0Aimport tachyon.thrift.FileInfo;%0A%0Aimport java.util.List;%0A%0Ainterface FileSystem %7B%0A  FileOutStream create(Path path);%0A  FileOutStream create(Path path, CreateOptions options);%0A  Path createDirectory(Path path);%0A  Path createDirectory(Path path, MkdirOptions options);%0A  void delete(Path path);%0A  void delete(Path path, DeleteOptions options);%0A  boolean exists(Path path);%0A  void free(Path path);%0A  void free(Path path, FreeOptions options);%0A  FileInfo getStatus(Path path);%0A  FileInfo getStatus(Path path, GetInfoOptions options);%0A  List%3CFileInfo%3E listStatus(Path path);%0A  List%3CFileInfo%3E listStatus(Path path, ListStatusOptions options);%0A  Path loadMetadata(Path path);%0A  Path loadMetadata(Path path, LoadMetadataOptions options);%0A  void mount(Path src, Path dst);%0A  void mount(Path src, Path dst, MountOptions options);%0A  FileInStream open(Path path);%0A  FileInStream open(Path path, OpenOptions options);%0A  void rename(Path src, Path dst);%0A  void rename(Path src, Path dst, RenameOptions options);%0A  void setAttr(Path path);%0A  void setAttr(Path path, SetStateOptions options);%0A  void unmount(Path path);%0A  void unmount(Path path, UnmountOptions options);%0A%7D%0A

Add file system interface.