/*
 * Licensed to the University of California, Berkeley under one or more contributor license
 * agreements. See the NOTICE file distributed with this work for additional information regarding
 * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance with the License. You may obtain a
 * copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */

package tachyon.underfs;

import tachyon.conf.TachyonConf;

/**
 * Interface for under file system factories
 */
public interface UnderFileSystemFactory {
  
  /**
   * Creates a new client for accessing the given path
   * 
   * @param path File path
   * @param tachyonConf Tachyon configuration
   * @param conf Optional configuration object for the UFS, may be null
   * @return Client
   * @throws IllegalArgumentException Thrown if this factory does not support clients for the given
   *         path or if the configuration provided is insufficient to create a client
   */
  public UnderFileSystem create(String path, TachyonConf tachyonConf, Object conf);

  /**
   * Gets whether this factory supports the given path and thus whether calling the
   * {@link #create(String, Object)} can succeed for this path
   * 
   * @param path File path
   * @param tachyonConf Tachyon configuration
   * @return True if the path is supported, false otherwise
   */
  public boolean supportsPath(String path, TachyonConf tachyonConf);
}

@@ -413,18 +413,17 @@
 se at%0A *
- 
 %0A
+
  * http:
@@ -462,17 +462,16 @@
 E-2.0%0A *
- 
 %0A * Unle
@@ -945,11 +945,9 @@
 y %7B%0A
-  
 %0A
+
   /*
@@ -999,33 +999,32 @@
  given path%0A   *
- 
 %0A   * @param pat
@@ -1367,23 +1367,16 @@
    */%0A  
-public 
 UnderFil
@@ -1600,17 +1600,16 @@
 ath%0A   *
- 
 %0A   * @p
@@ -1744,17 +1744,10 @@
  */%0A
+
   
-public 
 bool

Clean up UnderFileSystemFactory interface.