コード例 #1
0
 public string GetCurrentFileVersionFast(IOConnectionInfo ioc)
 {
     try
     {
         return(Jfs.GetCurrentFileVersionFast(IocToPath(ioc)));
     }
     catch (Java.Lang.Exception e)
     {
         throw LogAndConvertJavaException(e);
     }
 }
コード例 #2
0
 public Stream OpenFileForRead(IOConnectionInfo ioc)
 {
     try
     {
         return(Jfs.OpenFileForRead(IocToPath(ioc)));
     }
     catch (FileNotFoundException e)
     {
         throw new System.IO.FileNotFoundException(e.Message, e);
     }
     catch (Java.Lang.Exception e)
     {
         throw LogAndConvertJavaException(e);
     }
 }
コード例 #3
0
 public void Delete(IOConnectionInfo ioc)
 {
     try
     {
         Jfs.Delete(IocToPath(ioc));
     }
     catch (FileNotFoundException e)
     {
         throw new System.IO.FileNotFoundException(e.Message, e);
     }
     catch (Java.Lang.Exception e)
     {
         throw LogAndConvertJavaException(e);
     }
 }