Tag Archives: Java API

Read / Recognize, Manipulate and Generate Barcodes using Aspose.Barcode Java API Maven Plugin inside IntelliJ IDEA


Read / Recognize, Manipulate and Generate Barcodes using Aspose.Barcode Java API Maven Plugin inside IntelliJ IDEA
// Blogs – Aspose.com

New Plugin – Aspose.Barcode Java for IntelliJ IDEA (Maven) v.1.0.0.0 released!

KKGLVVO Read / Recognize, Manipulate and Generate Barcodes using Aspose.Barcode Java API Maven Plugin inside IntelliJ IDEAAspose releases New IntelliJ IDEA Plugin for its robust barcodes generation and recognition API — Aspose.Barcode for Java.

The plugin aims to facilitate the use of Aspose.Barcode for Java API in Maven based java projects in IntelliJ IDEA. By using the plugin developer can easily create java projects for reading (recognition), generating and manipulating barcodes.

Plugin lets developers to create Aspose.Barcode for Java API based Maven projects and also download various useful Example Source Codes in Java that shows how to do generation, recognition and manipulation of barcodes using the library – Barcode API.

Aspose.Barcode for Java supports most established barcode standards and barcode specifications. It has the ability to export to multiple image formats including: BMP, EMF, GIF, JPEG, PNG, TIFF and WMF within the IntelliJ IDEA.

Aspose.Imaging Java For Ruby Examples – A Ruby Gem to work with image conversion, manipulation, draw shapes and handle DjVu formats using Powerful Java API


Aspose.Imaging Java For Ruby Examples – A Ruby Gem to work with image conversion, manipulation, draw shapes and handle DjVu formats using Powerful Java API
// Blogs – Aspose.com

Aspose.Imaging for Java

aspose imaging for java Aspose.Imaging Java For Ruby Examples – A Ruby Gem to work with image conversion, manipulation, draw shapes and handle DjVu formats using Powerful Java APIAspose.Imaging for Java is an easy-to-use, high-performance and well-documented imaging library, that provides the most flexible group of routines for the developers to create, manipulate, save and convert images in their Java applications with ease and performance.

Aspose.Imaging provides features that go beyond the native capabilities of the development platform. It works independent of other applications, and although Aspose.Imaging allows you to save to Adobe PhotoShop® format (PSD), you do not need PhotoShop on the machine.

How to hack an OpenOffice spreadsheet with JavaScript


via blogorrhea: How to hack an OpenOffice spreadsheet with JavaScript.

One of the most difficult aspects of learning to write OpenOffice macros (in JavaScript) is that there is so little example code available. OpenOffice comes with dozens of useful code examples written in OpenOffice BASIC, but for Beanshell, Python, and JavaScript (the other supported macro languages) there’s hardly anything. Beyond that, there’s only the inscrutable 1200-page Developer’s Guide(no longer available in PDF), which is inscrutable not so much because it is not well written (it is, in fact, quite well written) but because the Byzantine OpenOffice C++ and Java APIs are themselves so impenetrable. If you’ve ever tried to write an OO.o macro “in anger,” you know what I’m talking about. The whole experience is exhausting.

Getting Started with YouTube Java API


via Getting Started with YouTube Java API | Java Code Geeks.

In this tutorial I am taking a look at Google’s YouTube API which allows you to empower your application with YouTube’s features. YouTube is one of the “killer” Internet applications and its traffic comprises of a huge portion of the total internet traffic.

Before we get started, make sure you have read the API Overview Guide. We will mainly deal with the Data API, which allows you to perform many of the operations available on the YouTube website (search for videos, retrieve standard feeds, see related content etc.).

The API is available in multiple programming languages and we will be using Java for this tutorial. Read the Java Developer’s Guide to get a first idea. Also bookmark the Google Data API JavaDoc page.

Let’s prepare the development environment. First, download the GData Java Client from the corresponding download section. I will be using the 1.41.2 version for this tutorial. Note that there is also a version 2, but according to the site is experimental and not compatible with version 1.

How to converts Java Object to XML – JAXB Example.


via How to converts Java Object to XML – JAXB Example.

JAXB, stands for Java API for XML Binding or sometimes Java Architecture for XML Binding is a decade old technology to directly convert a Java object into XML document (marshaling) and back to XML file into Java object(unmarshalling). It uses combination of annotations and getters and setters to marshal Java object into XML. JAXB actually defines the behavior of a standard set of tools and interfaces that automatically generate Java class files from XML schema, remember JAXB is actually a framework and architecture, not an implementation. The package java.xml.bind provides a runtime binding framework for clients to marshal, unmarshal and validate XML file in Java. BTW, JAXB is not the only option to parse XML in Java, you can always use SAX or DOM parser or JAXP API to convert XML to Java object and vice-versa. If you want to learn more about XML processing in Java, I suggest to look at chapter 2 of Core Java Volume 2 By Cay S. Horstmann. This book covers not only DOM and SAX but also StAX parser and locating information with XPath.

Java Callout Sample


via api-platform-samples/doc-samples/java-cookbook at master · apigee/api-platform-samples · GitHub.

This sample provides a simple implementation of a proxy that uses the JavaCallout policy and that implements Apigee’s JavaCallout Java API.

For a complete description of this proxy sample, see the API Proxy Cookbook topic at:

http://apigee.com/docs/api-platform/content/use-java-customize-api

Javadoc for the Apigee JavaCallout API Java classes are included in this sample download in:

/api-platform-samples/doc-samples/java-cookbook/javdocs-javacallout

Additional code samples are provided for reference in the ‘/java/src/com/apigee’ directory. These additional samples demonstrate various blocking and non-blocking patterns you can use with JavaCallout. They are commented.

This sample proxy uses the Yahoo Weather API for a target endpoint, and maps WEOID IDs to city names on behalf of the user.

Generic Classes in Java


via Generic Classes in Java Example | Examples Java Code Geeks.

This article shows creating a generic class. Java generics were introduced with Java SE version 5.

Some commonly used generic classes are defined as collections in Java API; for example the ArrayList. The API javadoc documentation shows the ArrayList definition as public class ArrayList (where E stands for an element type). Generics added the compile-time type safety and eliminated the need to cast when reading elements from collections.