Package org.apache.sis.metadata.iso.content

Examples of org.apache.sis.metadata.iso.content.DefaultImageDescription


    /**
     * Tests the formatting of a {@link DefaultImageDescription} object.
     */
    @Test
    public void testImageDescription() {
        final DefaultImageDescription image = new DefaultImageDescription();
        image.getDimensions().add(createBand(0.25, 0.26));
        image.getDimensions().add(createBand(0.28, 0.29));
        final String text = format.format(image.asTreeTable());
        assertMultilinesEquals(
            "Image description\n" +
            "  ├─Dimension (1 of 2)\n" +
            "  │   ├─Max value…………… 0.26\n" +
            "  │   ├─Min value…………… 0.25\n" +
View Full Code Here


    /**
     * Tests the formatting of a {@link DefaultImageDescription} object.
     */
    @Test
    public void testImageDescription() {
        final DefaultImageDescription image = new DefaultImageDescription();
        image.getDimensions().add(createBand(0.25, 0.26));
        image.getDimensions().add(createBand(0.28, 0.29));
        final String text = format.format(image.asTreeTable());
        assertMultilinesEquals(
            "Image description\n" +
            "  ├─Dimension (1 of 2)\n" +
            "  │   ├─Max value…………… 0.26\n" +
            "  │   ├─Min value…………… 0.25\n" +
View Full Code Here

TOP

Related Classes of org.apache.sis.metadata.iso.content.DefaultImageDescription

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.