Package uk.ac.starlink.util

Examples of uk.ac.starlink.util.DataSource


    private void votableLoad(URI sender, String votText, String id)
            throws IOException {
        Navigator navigator = _imageFrame.getNavigator();
        if (navigator != null) {
            final byte[] votBytes = votText.getBytes("UTF-8");
            DataSource datsrc = new DataSource() {
                public InputStream getRawInputStream() {
                    return new ByteArrayInputStream(votBytes);
                }
            };
            String name = sender.toString() + "-" + id;
View Full Code Here

TOP

Related Classes of uk.ac.starlink.util.DataSource

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.