예제 #1
0
 /// <summary>Get the path of the encryption zone for a given file or directory.</summary>
 /// <param name="path">The path to get the ez for.</param>
 /// <returns>The EncryptionZone of the ez, or null if path is not in an ez.</returns>
 /// <exception cref="System.IO.IOException">if there was a general IO exception</exception>
 /// <exception cref="Org.Apache.Hadoop.Security.AccessControlException">if the caller does not have access to path
 ///     </exception>
 /// <exception cref="System.IO.FileNotFoundException">if the path does not exist</exception>
 public virtual EncryptionZone GetEncryptionZoneForPath(Path path)
 {
     return(dfs.GetEZForPath(path));
 }