Package rlVizLib.messaging.interfaces

Examples of rlVizLib.messaging.interfaces.HasImageInterface


        return theImage;
    }

    @Override
    public String handleAutomatically(EnvironmentInterface theEnvironment) {
        HasImageInterface castedEnv = (HasImageInterface) theEnvironment;

        BufferedImage theImage = getImageFromURL(castedEnv.getImageURL());
        Response theResponse = new Response(theImage);
        return theResponse.makeStringResponse();
    }
View Full Code Here


        return theImage;
    }

    @Override
    public String handleAutomatically(AgentInterface theAgent) {
        HasImageInterface castedAgent = (HasImageInterface) theAgent;

        BufferedImage theImage = getImageFromURL(castedAgent.getImageURL());

        Response theResponse = new Response(theImage);
        return theResponse.makeStringResponse();
    }
View Full Code Here

TOP

Related Classes of rlVizLib.messaging.interfaces.HasImageInterface

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.