@Test public void testParseBandNames_noBandnameProperty() throws IOException { final BufferedReader in = createReader(createMandatoryHeader()); final Header header = new Header(in); final String[] bandNames = header.getBandNames(); assertNotNull(bandNames); assertEquals(0, bandNames.length); }
public String[] getBandNames() { return headerParser.getStrings(EnviConstants.HEADER_KEY_BAND_NAMES); }
Header { public String[] getBandNames() { return headerParser.getStrings(EnviConstants.HEADER_KEY_BAND_NAMES); } }
Header { public String[] getBandNames() { return headerParser.getStrings(EnviConstants.HEADER_KEY_BAND_NAMES); } Header(final BufferedReader reader); }
Header { public String[] getBandNames() { return headerParser.getStrings(EnviConstants.HEADER_KEY_BAND_NAMES); } Header(final BufferedReader reader); ByteOrder getJavaByteOrder(); String getFileType(); int getNumSamples(); int getNumLines(); int getNumBands(); int getHeaderOffset(); int getDataType(); String getInterleave(); String getSensorType(); int getByteOrder(); EnviMapInfo getMapInfo(); EnviProjectionInfo getProjectionInfo(); String[] getBandNames(); String getDescription(); BeamProperties getBeamProperties(); String[] getWavelengths(); String[] getFWHM(); String getWavelengthsUnit(); double[] getDataOffsetValues(); double[] getDataGainValues(); Double getDataIgnoreValue(); int getNumClasses(); String[] getClassNmaes(); int[] getClassColorRGB(); static Properties loadProperties(String text); MetadataElement getAsMetadata(); }
Header { public String[] getBandNames() { return headerParser.getStrings(EnviConstants.HEADER_KEY_BAND_NAMES); } Header(final BufferedReader reader); ByteOrder getJavaByteOrder(); String getFileType(); int getNumSamples(); int getNumLines(); int getNumBands(); int getHeaderOffset(); int getDataType(); String getInterleave(); String getSensorType(); int getByteOrder(); EnviMapInfo getMapInfo(); EnviProjectionInfo getProjectionInfo(); String[] getBandNames(); String getDescription(); BeamProperties getBeamProperties(); String[] getWavelengths(); String[] getFWHM(); String getWavelengthsUnit(); double[] getDataOffsetValues(); double[] getDataGainValues(); Double getDataIgnoreValue(); int getNumClasses(); String[] getClassNmaes(); int[] getClassColorRGB(); static Properties loadProperties(String text); MetadataElement getAsMetadata();  }