Migration to maven almost complete. At least everything builds and works
[utils] / crawler / basic / src / org / wamblee / crawler / PageType.java
diff --git a/crawler/basic/src/org/wamblee/crawler/PageType.java b/crawler/basic/src/org/wamblee/crawler/PageType.java
deleted file mode 100644 (file)
index 8320c0b..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright 2005 the original author or authors.
- * 
- * Licensed 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.
- */ 
-
-package org.wamblee.crawler;
-
-/**
- * Represents the type of a page determining how the HTML should be transformed into 
- * XML.
- */
-public class PageType {
-
-    /**
-     * Type string. 
-     */
-    private String _type; 
-    
-    /**
-     * Constructs the type.
-     * @param aType Type. 
-     */
-    public PageType(String aType) { 
-        _type = aType; 
-    }
-    
-    /**
-     * Gets the type. 
-     * @return Type.
-     */
-    public String getType() { 
-        return _type; 
-    }
-    
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
-    @Override
-    public String toString() {
-        return "PageType(type='" + _type + "')";
-    }
-    
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
-    @Override
-    public boolean equals(Object obj) {
-        if (!(obj instanceof PageType)) { 
-            return false; 
-        }
-        return toString().equals(obj.toString());
-    }
-}