001 package org.mesopotamia; 002 003 /** 004 * @author Base interface for loaders 005 */ 006 public interface Loader { 007 008 /** 009 * @param loadLevelId Load level primary key 010 * @return Loader data converted to appropriate Java representation. 011 * E.g. array of tokens for token loader. 012 */ 013 Object getData(int sourceUnitId, Integer scanId) throws MesopotamiaException; 014 015 }