Package net.alteiar.utils.images

Examples of net.alteiar.utils.images.WebImage


  @Test
  public void testBenchmarkMediumImages() {
    try {
      Timer t = new Timer();
      t.start();
      ImageBean bean = new ImageBean(new WebImage(new URL(
          "http://www.alteiar.net/images/cartes/Carte_du_monde.jpg")));
      UniqueID id = bean.getId();

      CampaignClient.getInstance().addNotPermaBean(bean);
      t.end("server sended");
View Full Code Here


  @Test
  public void testBenchmarkLargeImages() {
    try {
      Timer t = new Timer();
      t.start();
      ImageBean bean = new ImageBean(new WebImage(new URL(
          "http://www.alteiar.net/MyUpload/large.jpg")));
      UniqueID id = bean.getId();

      CampaignClient.getInstance().addNotPermaBean(bean);
      t.end("server sended");
View Full Code Here

  @Test
  public void testImage() {
    ImageBean image = new ImageBean();
    try {
      image.setImage(new WebImage(
          new URL(
              "http://www.alteiar.net/wiki/lib/exe/fetch.php?cache=&media=applications:chat.jpg")));

      BufferedImage target = ImageIO
          .read(new URL(
View Full Code Here

TOP

Related Classes of net.alteiar.utils.images.WebImage

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.