ObjectInputStream ois = new ObjectInputStream( reader .getStream( DATA_META_STREAM ) ); mapQueryIDToResultSetIDs = (HashMap) ois.readObject( ); queryResultRelations = (ArrayList) ois.readObject( ); queryExpressionIDs = (ArrayList) ois.readObject( ); ois.close( );
DataInputStream dis = new DataInputStream( reader .getStream( DATA_META_STREAM )); mapQueryIDToResultSetIDs = new HashMap( ); int size = IOUtil.readInt( dis ); for( int i=0; i<size; i++ ) { String queryId = IOUtil.readString( dis ); LinkedList ridList = new LinkedList( ); readStringList( dis, ridList ); mapQueryIDToResultSetIDs.put( queryId, ridList ); }  size = IOUtil.readInt( dis ); queryResultRelations = new ArrayList( ); for( int i=0; i<size; i++ ) { String parentRSID = IOUtil.readString( dis ); String resultSetID = IOUtil.readString( dis ); String rowid = IOUtil.readString( dis ); Key key = new Key(parentRSID, rowid, resultSetID ); queryResultRelations.add( key ); }  size = IOUtil.readInt( dis ); queryExpressionIDs = new ArrayList( ); for( int i=0; i<size; i++ ) { QueryID queryId = new QueryID( ); readQueryID( dis, queryId ); queryExpressionIDs.add( queryId ); } dis.close( );
	private void loadDteMetaInfo( )	{		try		{			ObjectInputStream ois = new ObjectInputStream( reader					.getStream( DATA_META_STREAM ) );			mapQueryIDToResultSetIDs = (HashMap) ois.readObject( );			queryResultRelations = (ArrayList) ois.readObject( );			queryExpressionIDs = (ArrayList) ois.readObject( );			ois.close( );		}		catch ( IOException ioe )		{			context.addException( new EngineException(					"Can't load the data in report document", ioe ) );			logger.log( Level.SEVERE, ioe.getMessage( ), ioe );		}		catch ( ClassNotFoundException cnfe )		{			context.addException( new EngineException(					"Can't load the data in report document", cnfe ) );			logger.log( Level.SEVERE, cnfe.getMessage( ), cnfe );		}	}