Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
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 (309)
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/events/LoggingEventListener.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: LoggingEventListener.java 1301445 2012-03-16 11:44:09Z mehdi $ */ package org.apache.fop.events; import java.util.HashSet; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.fop.events.model.EventSeverity; /** * EventListener implementation that redirects events to Commons Logging. The events are * converted to localized messages. */ public class LoggingEventListener implements EventListener { /** Default logger instance */ private static Log defaultLog = LogFactory.getLog(LoggingEventListener.class); private Log log; private boolean skipFatal; private final Set<String> loggedMessages = new HashSet<String>(); /** * Creates an instance logging to the default log category of this class. */ public LoggingEventListener() { this(defaultLog); } /** * Creates an instance logging to a given logger. Events with fatal severity level will be * skipped. * @param log the target logger */ public LoggingEventListener(Log log) { this(log, true); } /** * Creates an instance logging to a given logger. * @param log the target logger * @param skipFatal true if events with fatal severity level should be skipped (i.e. not logged) */ public LoggingEventListener(Log log, boolean skipFatal) { this.log = log; this.skipFatal = skipFatal; } /** * Returns the target logger for this instance. * @return the target logger */ public Log getLog() { return this.log; } /** {@inheritDoc} */ public void processEvent(Event event) { String msg = EventFormatter.format(event); EventSeverity severity = event.getSeverity(); if (severity == EventSeverity.INFO) { log.info(msg); } else if (severity == EventSeverity.WARN) { // we want to prevent logging of duplicate messages in situations where they are likely // to occur; for instance, warning related to layout do not repeat (since line number // will be different) and as such we do not try to filter them here; on the other hand, // font related warnings are very likely to repeat and we try to filter them out here; // the same may happen with missing images (but not implemented yet). String eventGroupID = event.getEventGroupID(); if (eventGroupID.equals("org.apache.fop.fonts.FontEventProducer")) { if (!loggedMessages.contains(msg)) { loggedMessages.add(msg); log.warn(msg); } } else { log.warn(msg); } } else if (severity == EventSeverity.ERROR) { if (event.getParam("e") != null) { log.error(msg, (Throwable)event.getParam("e")); } else { log.error(msg); } } else if (severity == EventSeverity.FATAL) { if (!skipFatal) { if (event.getParam("e") != null) { log.fatal(msg, (Throwable)event.getParam("e")); } else { log.fatal(msg); } } } else { assert false; } } }
⏎ org/apache/fop/events/LoggingEventListener.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, 11024👍, 0💬
Popular Posts:
XMLSchema, Release 1.4.2, is a lightweight Java object model that can be used to manipulate and gene...
commons-io-2.6-sources.j aris the source JAR file for Apache Commons IO 2.6, which is a library of u...
MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but c...
How to download and install JDK (Java Development Kit) 1.3? If you want to write Java applications, ...
What Is jsse.jar (JDK 6) Java Secure Socket Extension? jsse.jar, Java Secure Socket Extension, is Ja...