Fan.Sys.SysInStream.close C# (CSharp) Method

close() public method

public close ( ) : bool
return bool
        public override bool close()
        {
            try
              {
            if (inStream != null) inStream.Close();
            return true;
              }
              catch (IOException)
              {
            return false;
              }
        }

Usage Example

Example #1
0
 public Map meta()
 {
     if (m_meta == null)
     {
         try
         {
             if (fpod.m_meta != null)
             {
                 m_meta = (Map)fpod.m_meta;
             }
             else
             {
                 InStream input = new SysInStream(fpod.m_store.read("meta.props"));
                 m_meta = (Map)input.readProps().toImmutable();
                 input.close();
             }
         }
         catch (Exception e)
         {
             Err.dumpStack(e);
             m_meta = Sys.m_emptyStrStrMap;
         }
     }
     return(m_meta);
 }
All Usage Examples Of Fan.Sys.SysInStream::close