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:
Woodstox 6.4.0 - Source Code Files
Woodstox 6.4.0 Source Code Files are provided at the Woodstox GitHub Website.
You can download them from the "src/main/java" folder.
You can also browse Woodstox Source Code files below:
✍: FYIcenter
⏎ com/ctc/wstx/io/SystemId.java
package com.ctc.wstx.io;
import java.io.IOException;
import java.net.URL;
import com.ctc.wstx.util.URLUtil;
/**
* Helper class that is used to defer construction of {@link URL}
* to help with cases where real URL is not actually needed, and
* incoming System Id may not even resolve properly.
*<p>
* Note that class is meant to be accessed from a single thread, and
* is not designed as multi-thread safe. Specifically it is not to be
* used for caching or as a key, but strictly as System Id for processing
* of a single XML document.
*
* @since 4.4
*/
public class SystemId
{
protected URL mURL;
protected String mSystemId;
protected SystemId(String systemId, URL url) {
if (systemId == null && url == null) {
throw new IllegalArgumentException("Can not pass null for both systemId and url");
}
mSystemId = systemId;
mURL = url;
}
public static SystemId construct(String systemId) {
return (systemId == null) ? null : new SystemId(systemId, null);
}
public static SystemId construct(URL url) {
return (url == null) ? null : new SystemId(null, url);
}
public static SystemId construct(String systemId, URL url) {
if (systemId == null && url == null) {
return null;
}
return new SystemId(systemId, url);
}
public URL asURL() throws IOException {
if (mURL == null) {
mURL = URLUtil.urlFromSystemId(mSystemId);
}
return mURL;
}
public boolean hasResolvedURL() {
return (mURL != null);
}
@Override
public String toString() {
if (mSystemId == null) {
mSystemId = mURL.toExternalForm();
}
return mSystemId;
}
}
⏎ com/ctc/wstx/io/SystemId.java
Or download all of them as a single archive file:
File name: woodstox-core-6.4.0-fyi.zip File size: 552992 bytes Release date: 2022-10-25 Download
⇒ woodstox-core-6.4.0.jar - Woodstox Core 6.4.0
⇐ What Is Woodstox XML Processing
2023-01-29, ≈46🔥, 0💬
Popular Posts:
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
commons-lang-1.0.1.jar is the JAR file for Apache Commons Lang 1.0.1, which provides a host of helpe...
What is the jaxp\TypeInfoWriter.java provided in the Apache Xerces package? I have Apache Xerces 2.1...
What Is ojdbc8.jar for Oracle 12c R2? ojdbc8.jar for Oracle 12c R2 is the JAR files of ojdbc.jar, JD...
If you are a Java developer, it is very often that you need to use some 3rd party libraries to perfo...