| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 26 Dec 2025 20:31:11 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20070723202928
location: https://web.archive.org/web/20070723202928/https://htmlurls.dev.java.net/
server-timing: captures_list;dur=0.529448, exclusion.robots;dur=0.037258, exclusion.robots.policy;dur=0.027064, esindex;dur=0.010326, cdx.remote;dur=21.924867, LoadShardBlock;dur=106.368877, PetaboxLoader3.datanode;dur=78.148817, PetaboxLoader3.resolve;dur=12.221827
x-app-server: wwwb-app219-dc8
x-ts: 302
x-tr: 154
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app219; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 26 Dec 2025 20:31:11 GMT
content-type: text/html;charset=UTF-8
x-archive-orig-date: Mon, 23 Jul 2007 20:29:28 GMT
x-archive-orig-server: Apache
x-archive-orig-x-powered-by: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5
x-archive-orig-pragma:
x-archive-orig-cache-control: private,max-age=0,must-revalidate
x-archive-orig-helmloginid: guest
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 23 Jul 2007 20:29:28 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: IA-AROUND-THE-WORLD-2007-20070723201353-29161-crawling05-c/IA-AROUND-THE-WORLD-2007-20070723202901-07645-crawling01.us.archive.org.arc.gz
server-timing: captures_list;dur=0.526408, exclusion.robots;dur=0.019567, exclusion.robots.policy;dur=0.009451, esindex;dur=0.011760, cdx.remote;dur=10.829642, LoadShardBlock;dur=100.027233, PetaboxLoader3.datanode;dur=73.074784, PetaboxLoader3.resolve;dur=86.895670, load_resource;dur=85.484372
x-app-server: wwwb-app219-dc8
x-ts: 200
x-tr: 258
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
htmlurls: Home
|
htmlurls
|
| Summary | Methods to manipulate and convert URL |
|---|---|
| Categories | None |
| License | Lesser General Public License (LGPL) |
| Owner(s) | nicolaasuni |
| Name | HTMLURLs |
| Version | 1.0.003 |
| Date | 2005-03-30 |
| Author | Nicola Asuni |
| Copyright | Tecnick.com S.r.l. Via Ugo Foscolo n.19 09045 Quartu Sant'Elena (CA) ITALY www.tecnick.com |
| License | GNU LESSER GENERAL PUBLIC LICENSE v.2.1 |
Source Code and Documentation
Description
HTMLURLs is an open-source Java class that contains a collection of static utility methods to manipulate and convert URL (Uniform Resource Locator) addresses from java.lang.String to java.net.URL objects and vice versa.This class extend the com.tecnick.htmlutils Java package that provides a collection of utilities to create, parse and convert HTML/XHTML documents.
The HTMLURLs class is very useful in Web-based application development because speeds up the URLs manipulation, that is a common task.
The HTMLURLs main features are:
- allows set up a java.net.URL object starting from various String representation;
- checks if an URL is absolute or relative to the current local path.
- get full canonical URL address by resolving various combined relative paths (e.g.: "https://www.site.com/dir/subdir/../image.gif" became "https://www.site.com/dir/image.gif"); this last case resolve a very common problem in Web-applications.
Installation instructions
This project is shipped as Eclipse project, with classes compiled into the "classes" directory.
However a packaged version of this class is available as a JAR archive inside the www directory.
To install the JAR file, just copy it on your project classpath.
Implementation Example
The following is a quick start example that shows you how to use this class: HTMLColorsSample.java.
Open Source projects from the same author >>
| Powered by CollabNet | Feedback |
FAQ |
Press |
Developer tools
© 1995 - 2007 CollabNet. CollabNet is a registered trademark of CollabNet, Inc. |
