public boolean load ( File file ) throws IOException { InputStream in = null ; try { in = new FileInputStream ( file ) ; this . file = file ; this . lastModified = file . lastModified ( ) ; return load ( in ) ; } finally { if ( in != null ) { try { in . close ( ) ; } catch ( Exception e ) { } } } }
Loads grid map definition from a given file .