//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public StoreChannel open(java.io.File fileName, OpenMode openMode) throws java.io.IOException
        public override StoreChannel Open(File fileName, OpenMode openMode)
        {
            return(new StoreFileChannel(FileUtils.Open(Path(fileName), openMode)));
        }
示例#2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public static java.nio.channels.FileChannel open(java.nio.file.Path path, OpenMode openMode) throws java.io.IOException
        public static FileChannel Open(Path path, OpenMode openMode)
        {
            return(FileChannel.open(path, ConvertOpenMode(openMode)));
        }