org.autoplot.pngwalk.WalkUtil

WalkUtil( )


fileExists

fileExists( String surl ) → boolean

Parameters

surl - a String

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc]


getFilesFor

getFilesFor( String surl, DatumRange timeRange, java.util.List timeRanges, boolean download, ProgressMonitor mon ) → List

return an array of URIs that match the spec for the timerange (if provided), limiting the search to this range.

Parameters

surl - an Autoplot URI with an aggregation specifier.
timeRange - a string that is parsed to a time range, such as 2001, or null.
timeRanges - list which is populated
download - (is not used)
mon - progress monitor

Returns:

a list of URIs without the aggregation specifier.

[search for examples] [view on GitHub] [view on old javadoc]


resizeImage

resizeImage( java.awt.image.BufferedImage originalImage, int width, int height ) → BufferedImage

fast resize based on Java2D. This is lower quality than ScalePerspectiveImageOp, but much faster.

Parameters

originalImage - a BufferedImage
width - an int
height - an int

Returns:

a java.awt.image.BufferedImage

[search for examples] [view on GitHub] [view on old javadoc]