- From: Mercurial notifier <nobody@w3.org>
- Date: Wed, 21 Jul 2010 15:53:19 +0000
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1318:7efb88d3331f
user: Thomas Gambet <tgambet@w3.org>
date: Wed Jul 21 11:20:04 2010 -0400
files: src/org/w3c/unicorn/util/UnicornVelocityTool.java
description:
+ Velocity Tool for Unicorn
diff -r c27c9f60d45b -r 7efb88d3331f src/org/w3c/unicorn/util/UnicornVelocityTool.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/w3c/unicorn/util/UnicornVelocityTool.java Wed Jul 21 11:20:04 2010 -0400
@@ -0,0 +1,12 @@
+package org.w3c.unicorn.util;
+
+public class UnicornVelocityTool {
+
+ public boolean isTemporaryURL(String url) {
+ if (url == null)
+ return false;
+ if (url.startsWith(Property.get("UNICORN_URL")))
+ return true;
+ return false;
+ }
+}
Received on Wednesday, 21 July 2010 15:53:21 UTC