Пример #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void close() throws java.io.IOException
        public virtual void close()
        {
            // Write back the mapping file if it has been changed
            if (sectorMappingDirty)
            {
                writeMappingFile();
            }

            sectorDevice.close();
        }
Пример #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void close() throws java.io.IOException
        public override void close()
        {
            base.close();

            if (sectorDevice != null)
            {
                sectorDevice.close();
                sectorDevice = null;
            }

            writeToc();

            tocFile.close();
            tocFile = null;

            toc = null;
        }
Пример #3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void close() throws java.io.IOException
        public virtual void close()
        {
            sectorDevice.close();
        }