Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
What Is fop.jar in fop-2.7-bin.zip
What Is fop.jar? I got it from the fop-2.7-bin.zip.
✍: FYIcenter.com
fop.jar in fop-2.7-bin.zip is the JAR file for FOP 2.7, which
is a print formatter driven by XSL formatting objects (XSL-FO).
You can obtain fop.jar from the build folder of the fop-2.7-bin.zip file.
Below is the information about the fop.jar (2.2) file:
JAR File Size and Download Location:
JAR name: fop.jar, fop-2.7.jar Target JDK version: 1.7 File name: fop.jar File size: 4442817 bytes Release date: 20-Jan-2022 Download: Apache FOP Website
Java source code files for fop.jar:
⏎ org/apache/fop/fonts/FontTriplet.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* $Id: FontTriplet.java 1617052 2014-08-10 06:55:01Z gadams $ */
package org.apache.fop.fonts;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.Serializable;
/**
* FontTriplet contains information on name, style and weight of one font
*/
public class FontTriplet implements Comparable<FontTriplet>, Serializable {
public static final FontTriplet DEFAULT_FONT_TRIPLET
= new FontTriplet("any", Font.STYLE_NORMAL, Font.WEIGHT_NORMAL);
/** serial version UID */
private static final long serialVersionUID = 1168991106658033508L;
private String name;
private String style;
private int weight;
private int priority; // priority of this triplet/font mapping
//This is only a cache
private transient String key;
public FontTriplet() {
this(null, null, 0);
}
/**
* Creates a new font triplet.
* @param name font name
* @param style font style (normal, italic etc.)
* @param weight font weight (100, 200, 300...800, 900)
*/
public FontTriplet(String name, String style, int weight) {
this(name, style, weight, Font.PRIORITY_DEFAULT);
}
/**
* Creates a new font triplet.
* @param name font name
* @param style font style (normal, italic etc.)
* @param weight font weight (100, 200, 300...800, 900)
* @param priority priority of this triplet/font mapping
*/
public FontTriplet(String name, String style, int weight, int priority) {
this.name = name;
this.style = style;
this.weight = weight;
this.priority = priority;
}
private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException {
ois.defaultReadObject();
}
/** @return the font name */
public String getName() {
return name;
}
/** @return the font style */
public String getStyle() {
return style;
}
/** @return the font weight */
public int getWeight() {
return weight;
}
/** @return the priority of this triplet/font mapping */
public int getPriority() {
return priority;
}
private String getKey() {
if (this.key == null) {
//This caches the combined key
this.key = getName() + "," + getStyle() + "," + getWeight();
}
return this.key;
}
/** {@inheritDoc} */
public int compareTo(FontTriplet o) {
return getKey().compareTo(o.getKey());
}
/** {@inheritDoc} */
public int hashCode() {
return toString().hashCode();
}
/** {@inheritDoc} */
public boolean equals(Object obj) {
if (obj == null) {
return false;
} else if (obj == this) {
return true;
} else {
if (obj instanceof FontTriplet) {
FontTriplet other = (FontTriplet)obj;
return (getName().equals(other.getName())
&& getStyle().equals(other.getStyle())
&& (getWeight() == other.getWeight()));
}
}
return false;
}
/** {@inheritDoc} */
public String toString() {
return getKey();
}
/**
* Matcher interface for {@link FontTriplet}.
*/
public interface Matcher {
/**
* Indicates whether the given {@link FontTriplet} matches a particular criterium.
* @param triplet the font triplet
* @return true if the font triplet is a match
*/
boolean matches(FontTriplet triplet);
}
}
⏎ org/apache/fop/fonts/FontTriplet.java
Or download all of them as a single archive file:
File name: fop-2.7-src.zip File size: 3401312 bytes Release date: 2022-01-20 Download
⇒ "fop" Command in fop-2.7-bin.zip
2016-07-07, ≈350🔥, 0💬
Popular Posts:
How to read XML document with DTD validation from socket connections with the socket\DelayedInput.ja.. .
JDK 17 jdk.jlink.jmod is the JMOD file for JDK 17 JLink tool, which can be invoked by the "jlink" co...
JDK 17 java.sql.jmod is the JMOD file for JDK 17 SQL (Structured Query Language) module. JDK 17 SQL ...
How to download and install Apache XMLBeans-2.6.0.zip? If you want to try the XMLBeans Java library,...
maven-model-builder-3.8. 6.jaris the JAR file for Apache Maven 3.8.6 Model Builder module. Apache Ma...