You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by th...@apache.org on 2007/02/20 18:52:41 UTC
svn commit: r509687 - in /labs/droids/src/java/org/apache/droids:
Queue/QueueBean.java api/Configurable.java api/Crawler.java
api/URLFilter.java conf/Configured.java crawler/DefaultCrawler.java
handle/WriterHandler.java
Author: thorsten
Date: Tue Feb 20 09:52:38 2007
New Revision: 509687
URL: http://svn.apache.org/viewvc?view=rev&rev=509687
Log:
add missing licenses header
Modified:
labs/droids/src/java/org/apache/droids/Queue/QueueBean.java
labs/droids/src/java/org/apache/droids/api/Configurable.java
labs/droids/src/java/org/apache/droids/api/Crawler.java
labs/droids/src/java/org/apache/droids/api/URLFilter.java
labs/droids/src/java/org/apache/droids/conf/Configured.java
labs/droids/src/java/org/apache/droids/crawler/DefaultCrawler.java
labs/droids/src/java/org/apache/droids/handle/WriterHandler.java
Modified: labs/droids/src/java/org/apache/droids/Queue/QueueBean.java
URL: http://svn.apache.org/viewvc/labs/droids/src/java/org/apache/droids/Queue/QueueBean.java?view=diff&rev=509687&r1=509686&r2=509687
==============================================================================
--- labs/droids/src/java/org/apache/droids/Queue/QueueBean.java (original)
+++ labs/droids/src/java/org/apache/droids/Queue/QueueBean.java Tue Feb 20 09:52:38 2007
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.droids.Queue;
import org.apache.droids.api.Task;
Modified: labs/droids/src/java/org/apache/droids/api/Configurable.java
URL: http://svn.apache.org/viewvc/labs/droids/src/java/org/apache/droids/api/Configurable.java?view=diff&rev=509687&r1=509686&r2=509687
==============================================================================
--- labs/droids/src/java/org/apache/droids/api/Configurable.java (original)
+++ labs/droids/src/java/org/apache/droids/api/Configurable.java Tue Feb 20 09:52:38 2007
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.droids.api;
import org.apache.droids.conf.Configuration;
Modified: labs/droids/src/java/org/apache/droids/api/Crawler.java
URL: http://svn.apache.org/viewvc/labs/droids/src/java/org/apache/droids/api/Crawler.java?view=diff&rev=509687&r1=509686&r2=509687
==============================================================================
--- labs/droids/src/java/org/apache/droids/api/Crawler.java (original)
+++ labs/droids/src/java/org/apache/droids/api/Crawler.java Tue Feb 20 09:52:38 2007
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.droids.api;
import java.io.IOException;
@@ -6,7 +22,8 @@
import org.apache.droids.exception.DroidsException;
public interface Crawler {
-
+ /** The name of the extension point. */
+ public final static String X_POINT_ID = Crawler.class.getName();
public abstract void crawl(String uri) throws MalformedURLException,
IOException, DroidsException;
Modified: labs/droids/src/java/org/apache/droids/api/URLFilter.java
URL: http://svn.apache.org/viewvc/labs/droids/src/java/org/apache/droids/api/URLFilter.java?view=diff&rev=509687&r1=509686&r2=509687
==============================================================================
--- labs/droids/src/java/org/apache/droids/api/URLFilter.java (original)
+++ labs/droids/src/java/org/apache/droids/api/URLFilter.java Tue Feb 20 09:52:38 2007
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.droids.api;
public interface URLFilter extends Pluggable, Configurable{
Modified: labs/droids/src/java/org/apache/droids/conf/Configured.java
URL: http://svn.apache.org/viewvc/labs/droids/src/java/org/apache/droids/conf/Configured.java?view=diff&rev=509687&r1=509686&r2=509687
==============================================================================
--- labs/droids/src/java/org/apache/droids/conf/Configured.java (original)
+++ labs/droids/src/java/org/apache/droids/conf/Configured.java Tue Feb 20 09:52:38 2007
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.droids.conf;
import org.apache.droids.api.Configurable;
Modified: labs/droids/src/java/org/apache/droids/crawler/DefaultCrawler.java
URL: http://svn.apache.org/viewvc/labs/droids/src/java/org/apache/droids/crawler/DefaultCrawler.java?view=diff&rev=509687&r1=509686&r2=509687
==============================================================================
--- labs/droids/src/java/org/apache/droids/crawler/DefaultCrawler.java (original)
+++ labs/droids/src/java/org/apache/droids/crawler/DefaultCrawler.java Tue Feb 20 09:52:38 2007
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.droids.crawler;
import java.text.SimpleDateFormat;
Modified: labs/droids/src/java/org/apache/droids/handle/WriterHandler.java
URL: http://svn.apache.org/viewvc/labs/droids/src/java/org/apache/droids/handle/WriterHandler.java?view=diff&rev=509687&r1=509686&r2=509687
==============================================================================
--- labs/droids/src/java/org/apache/droids/handle/WriterHandler.java (original)
+++ labs/droids/src/java/org/apache/droids/handle/WriterHandler.java Tue Feb 20 09:52:38 2007
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.droids.handle;
import java.io.IOException;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org