Changeset 737
- Timestamp:
- Aug 7, 2008, 9:07:42 AM (14 years ago)
- Location:
- plugins/base2/net.sf.basedb.illumina/trunk/src/net/sf/basedb/illumina
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/base2/net.sf.basedb.illumina/trunk/src/net/sf/basedb/illumina/Illumina.java
r686 r737 36 36 The current version of this plug-in package. 37 37 */ 38 public static final String VERSION = "pre1. 1";38 public static final String VERSION = "pre1.2"; 39 39 40 40 /** -
plugins/base2/net.sf.basedb.illumina/trunk/src/net/sf/basedb/illumina/plugins/BgxFeatureImporter.java
r646 r737 43 43 import net.sf.basedb.util.InputStreamTracker; 44 44 import net.sf.basedb.util.parser.FlatFileParser; 45 import net.sf.basedb.util.parser.Mapper; 45 46 import net.sf.basedb.util.parser.WrappedConfigureByExample; 46 47 import net.sf.basedb.util.parser.FlatFileParser.Line; … … 63 64 64 65 @author Martin, Nicklas 65 @version 2.666 @version 1.0 66 67 67 68 */ … … 187 188 } 188 189 190 191 192 /** 193 This method returns a ZeroPadMapper if the mapp-expression is equal to '\\Array_Address_Id\\', 194 otherwise the object from it's super class will be returned. 195 @see net.sf.basedb.plugins.AbstractFlatFileImporter#getMapper() 196 @see net.sf.basedb.illumina.plugins.ZeroPadMapper 197 @since 1.2 198 */ 199 @Override 200 protected Mapper getMapper(FlatFileParser ffp, String mapExpression, Integer maxStringLength, Mapper defaultMapper) 201 { 202 Mapper mapper = super.getMapper(ffp, mapExpression, maxStringLength, defaultMapper); 203 204 if (mapExpression != null && mapExpression.equals("\\Array_Address_Id\\")) 205 { 206 mapper = new ZeroPadMapper(mapper, 10); 207 } 208 return mapper; 209 } 189 210 /* 190 211 Enum to hold the sections in a BGX file.
Note: See TracChangeset
for help on using the changeset viewer.