Skip to content

fgdrf/sym-handler-mil2525b

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This projects provides Mil 2525b symbols. In Java its quite easy to register additional URL Handlers, and thats the way how it works:

In the Class where the static main method exists add the follwing lines:

static {
URL.setURLStreamHandlerFactory(new Mil2525bHandlerFactory());
}

Done.

To access Images just use URL’s like this:

URL url = new URL
url.openStream();

An easy way to handle images use ImageIO:

BufferedImage image = ImageIO.read(new URL);

Symbols are taken from the openmap project, please consult the License file at
http://openmap.bbn.com/cgi-bin/viewvc.cgi/trunk/LICENSE?root=openmap&view=log

How to build
Its a Maven project, type:
mvn clean install

To make an Eclipse-Project just type
mvn eclipse:eclipse

Import the project in Eclipse: `File→Import→Existing Projects into Workspace`. Done.

Resources

About

Java Protocol Handler to request mil 2525b images (mil2525b://symbolcode.png

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages