com.mizar.metadata.gdal
Class GdalReport

java.lang.Object
  extended by com.mizar.metadata.gdal.GdalReport

public class GdalReport
extends java.lang.Object

This class was largely taken from the GDAL Java API sample code. As such it contains a lot of C language like structures that we are gradually replacing with proper Java-isms. msm


Field Summary
static int SHOW_ALL
           
static int SHOW_LOTS
           
static int SHOW_MORE
           
static int SHOW_NONE
           
static int SHOW_QUICK
           
 
Constructor Summary
GdalReport(org.gdal.gdal.Dataset dataset)
           
GdalReport(org.gdal.gdal.Dataset dataset, int mode)
           
 
Method Summary
 java.lang.String generateReport()
          This is a reference method taken from the GDAL Java API test code
 org.gdal.gdal.Dataset getDataset()
           
 java.util.List<java.lang.String> getHtml()
           
 java.lang.String getHtmlString()
           
 int getShowMode()
           
 java.lang.String getSimpleReport()
           
 boolean isShowArbitraryViews()
           
 boolean isShowBands()
           
 boolean isShowChecksum()
           
 boolean isShowColorTable()
           
 boolean isShowCorners()
           
 boolean isShowGCPs()
           
 boolean isShowGeneral()
           
 boolean isShowGeolocation()
           
 boolean isShowHistograms()
           
 boolean isShowImageStructure()
           
 boolean isShowMetadata()
           
 boolean isShowNodataValue()
           
 boolean isShowOverviewChecksum()
           
 boolean isShowOverviews()
           
 boolean isShowProjection()
           
 boolean isShowRasterAttributeTable()
           
 boolean isShowRPCs()
           
 boolean isShowStatistics()
           
 boolean isShowSubdatasets()
           
 boolean isShowTransformation()
           
 void setDataset(org.gdal.gdal.Dataset dataset)
           
 void setShowArbitraryViews(boolean showArbitraryViews)
           
 void setShowBands(boolean showBands)
           
 void setShowChecksum(boolean showChecksum)
           
 void setShowColorTable(boolean showColorTable)
           
 void setShowCorners(boolean showCorners)
           
 void setShowGCPs(boolean showGCPs)
           
 void setShowGeneral(boolean showGeneral)
           
 void setShowGeolocation(boolean showGeolocation)
           
 void setShowHistograms(boolean showHistograms)
           
 void setShowImageStructure(boolean showImageStructure)
           
 void setShowMetadata(boolean showMetadata)
           
 void setShowMode(int showMode)
           
 void setShowNodataValue(boolean showNodataValue)
           
 void setShowOverviewChecksum(boolean showOverviewChecksum)
           
 void setShowOverviews(boolean showOverviews)
           
 void setShowProjection(boolean showProjection)
           
 void setShowRasterAttributeTable(boolean showRasterAttributeTable)
           
 void setShowRPCs(boolean showRPCs)
           
 void setShowStatistics(boolean showStatistics)
           
 void setShowSubdatasets(boolean showSubdatasets)
           
 void setShowTransformation(boolean showTransformation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOW_NONE

public static final int SHOW_NONE
See Also:
Constant Field Values

SHOW_QUICK

public static final int SHOW_QUICK
See Also:
Constant Field Values

SHOW_MORE

public static final int SHOW_MORE
See Also:
Constant Field Values

SHOW_LOTS

public static final int SHOW_LOTS
See Also:
Constant Field Values

SHOW_ALL

public static final int SHOW_ALL
See Also:
Constant Field Values
Constructor Detail

GdalReport

public GdalReport(org.gdal.gdal.Dataset dataset)

GdalReport

public GdalReport(org.gdal.gdal.Dataset dataset,
                  int mode)
Method Detail

setDataset

public void setDataset(org.gdal.gdal.Dataset dataset)

getDataset

public org.gdal.gdal.Dataset getDataset()

setShowMode

public void setShowMode(int showMode)

getShowMode

public int getShowMode()

setShowGeneral

public void setShowGeneral(boolean showGeneral)

isShowGeneral

public boolean isShowGeneral()

setShowProjection

public void setShowProjection(boolean showProjection)

isShowProjection

public boolean isShowProjection()

setShowTransformation

public void setShowTransformation(boolean showTransformation)

isShowTransformation

public boolean isShowTransformation()

setShowGCPs

public void setShowGCPs(boolean showGCPs)

isShowGCPs

public boolean isShowGCPs()

setShowMetadata

public void setShowMetadata(boolean showMetadata)

isShowMetadata

public boolean isShowMetadata()

setShowImageStructure

public void setShowImageStructure(boolean showImageStructure)

isShowImageStructure

public boolean isShowImageStructure()

setShowSubdatasets

public void setShowSubdatasets(boolean showSubdatasets)

isShowSubdatasets

public boolean isShowSubdatasets()

setShowGeolocation

public void setShowGeolocation(boolean showGeolocation)

isShowGeolocation

public boolean isShowGeolocation()

setShowRPCs

public void setShowRPCs(boolean showRPCs)

isShowRPCs

public boolean isShowRPCs()

setShowCorners

public void setShowCorners(boolean showCorners)

isShowCorners

public boolean isShowCorners()

setShowBands

public void setShowBands(boolean showBands)

isShowBands

public boolean isShowBands()

setShowStatistics

public void setShowStatistics(boolean showStatistics)

isShowStatistics

public boolean isShowStatistics()

setShowHistograms

public void setShowHistograms(boolean showHistograms)

isShowHistograms

public boolean isShowHistograms()

setShowChecksum

public void setShowChecksum(boolean showChecksum)

isShowChecksum

public boolean isShowChecksum()

setShowColorTable

public void setShowColorTable(boolean showColorTable)

isShowColorTable

public boolean isShowColorTable()

setShowNodataValue

public void setShowNodataValue(boolean showNodataValue)

isShowNodataValue

public boolean isShowNodataValue()

setShowOverviews

public void setShowOverviews(boolean showOverviews)

isShowOverviews

public boolean isShowOverviews()

setShowOverviewChecksum

public void setShowOverviewChecksum(boolean showOverviewChecksum)

isShowOverviewChecksum

public boolean isShowOverviewChecksum()

setShowArbitraryViews

public void setShowArbitraryViews(boolean showArbitraryViews)

isShowArbitraryViews

public boolean isShowArbitraryViews()

setShowRasterAttributeTable

public void setShowRasterAttributeTable(boolean showRasterAttributeTable)

isShowRasterAttributeTable

public boolean isShowRasterAttributeTable()

getHtmlString

public java.lang.String getHtmlString()
Returns:
html as a single string
See Also:
getHtml()

getHtml

public java.util.List<java.lang.String> getHtml()
Returns:
the simpleReport wrapped in simple HTML suitable for use by <af:outputFormatted> (once getHtmlString is through with it)

getSimpleReport

public java.lang.String getSimpleReport()

generateReport

public java.lang.String generateReport()
This is a reference method taken from the GDAL Java API test code