1 16 17 package org.apache.batik.transcoder.image; 18 19 import org.apache.batik.transcoder.TranscoderInput; 20 21 27 public class URITest extends AbstractImageTranscoderTest { 28 29 30 protected String inputURI; 31 32 33 protected String refImageURI; 34 35 41 public URITest(String inputURI, String refImageURI) { 42 this.inputURI = inputURI; 43 this.refImageURI = refImageURI; 44 } 45 46 49 protected TranscoderInput createTranscoderInput() { 50 return new TranscoderInput(resolveURL(inputURI).toString()); 51 } 52 53 56 protected byte [] getReferenceImageData() { 57 return createBufferedImageData(resolveURL(refImageURI)); 58 } 59 } 60 | Popular Tags |