Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Magick.java
Package: verifidecoder_src.rar [view]
Upload User: qingzhou
Upload Date: 2013-04-21
Package Size: 733k
Code Size: 2k
Category:
Crack_Hack
Development Platform:
Java
- package magick;
- import java.awt.Rectangle;
- /**
- * The sole purchase of this class is to cause the native
- * library to be loaded whenever a concrete class is used
- * and provide utility methods.
- *
- * @author Eric Yeo
- * @author Max Kollegov <virtual_max@geocities.com>
- */
- public class Magick {
- static {
- String clprop = System.getProperty("jmagick.systemclassloader");
- if (clprop == null || clprop.equalsIgnoreCase("yes")) {
- try {
- ClassLoader.getSystemClassLoader()
- .loadClass("magick.MagickLoader").newInstance();
- }
- catch(ClassNotFoundException e) {
- throw new RuntimeException("Can't load MagickLoader " +
- "(class not found)");
- }
- catch(IllegalAccessException e) {
- throw new RuntimeException("Access to SystemClassLoader "+
- "denied (IllegalAccessException)");
- }
- catch(InstantiationException e) {
- throw new RuntimeException("Can't instantiate MagicLoader " +
- "(InstantiationException)");
- }
- }
- else {
- System.loadLibrary("JMagick");
- }
- }
- /**
- * Parses a geometry specification and returns the
- * width, height, x, and y values in the rectangle.
- * It also returns flags that indicates which of the
- * four values (width, height, xoffset, yoffset) were
- * located in the string, and whether the x and y values
- * are negative. In addition, there are flags to report
- * any meta characters (%, !, <, and >).
- * @param geometry String containing the geometry specifications
- * @param rect The rectangle of values x, y, width and height
- * @return bitmask indicating the values in the geometry string
- * @see magick.GeometryFlags
- */
- public static native int parseImageGeometry(String geometry,
- Rectangle rect);
- }