From 0497efbb327d5609c87f6f59339fcffa588336c5 Mon Sep 17 00:00:00 2001 From: gojomo Date: Tue, 10 Nov 2009 21:03:27 +0000 Subject: [PATCH] [HER-1561] update license to Apache License 2.0 * (many) update license boilerplate * (few) delete no-longer used classes --- .../checkpointing/CheckpointInputStream.java | 33 ++-- .../checkpointing/CheckpointRecovery.java | 33 ++-- .../archive/checkpointing/Checkpointable.java | 33 ++-- .../archive/checkpointing/RecoverAction.java | 33 ++-- .../ConfigurableX509TrustManager.java | 30 ++-- .../httpclient/HttpRecorderGetMethod.java | 30 ++-- .../httpclient/HttpRecorderMethod.java | 30 ++-- .../httpclient/HttpRecorderPostMethod.java | 30 ++-- .../SingleHttpConnectionManager.java | 42 +++-- .../main/java/org/archive/io/Arc2Warc.java | 30 ++-- .../java/org/archive/io/ArchiveReader.java | 31 ++-- .../org/archive/io/ArchiveReaderFactory.java | 30 ++-- .../java/org/archive/io/ArchiveRecord.java | 30 ++-- .../org/archive/io/ArchiveRecordHeader.java | 30 ++-- .../org/archive/io/ArraySeekInputStream.java | 40 +++-- .../archive/io/BufferedSeekInputStream.java | 40 +++-- .../java/org/archive/io/CharSubSequence.java | 30 ++-- .../archive/io/CompositeFileInputStream.java | 42 +++-- .../org/archive/io/CompositeFileReader.java | 42 +++-- .../archive/io/DefaultWriterPoolSettings.java | 33 ++-- .../src/main/java/org/archive/io/Endian.java | 40 +++-- .../main/java/org/archive/io/GzipHeader.java | 42 +++-- .../archive/io/LoudObjectOutputStream.java | 33 ++-- .../org/archive/io/NoGzipMagicException.java | 32 ++-- .../io/ObjectPlusFilesOutputStream.java | 42 +++-- .../org/archive/io/OriginSeekInputStream.java | 40 +++-- .../archive/io/RandomAccessInputStream.java | 40 +++-- .../archive/io/RandomAccessOutputStream.java | 31 ++-- .../org/archive/io/RecorderIOException.java | 31 ++-- .../io/RecorderLengthExceededException.java | 31 ++-- .../archive/io/RecorderTimeoutException.java | 31 ++-- .../io/RecorderTooMuchHeaderException.java | 31 ++-- .../org/archive/io/RecordingInputStream.java | 32 ++-- .../archive/io/RecoverableIOException.java | 30 ++-- .../archive/io/RepositionableInputStream.java | 32 ++-- .../org/archive/io/SafeSeekInputStream.java | 40 +++-- .../java/org/archive/io/SeekInputStream.java | 40 +++-- .../org/archive/io/SinkHandlerLogThread.java | 30 ++-- .../main/java/org/archive/io/UTF8Bytes.java | 30 ++-- .../java/org/archive/io/arc/ARCConstants.java | 31 ++-- .../java/org/archive/io/arc/ARCLocation.java | 38 ++--- .../java/org/archive/io/arc/ARCUtils.java | 30 ++-- .../org/archive/io/arc/ARCWriterPool.java | 32 ++-- .../org/archive/io/warc/WARCWriterPool.java | 30 ++-- .../main/java/org/archive/net/ClientFTP.java | 32 ++-- .../archive/net/DownloadURLConnection.java | 30 ++-- .../java/org/archive/net/FTPException.java | 32 ++-- .../src/main/java/org/archive/net/LaxURI.java | 42 +++-- .../java/org/archive/net/LaxURLCodec.java | 42 +++-- .../src/main/java/org/archive/net/UURI.java | 32 ++-- .../java/org/archive/net/UURIFactory.java | 32 ++-- .../java/org/archive/net/md5/Handler.java | 30 ++-- .../org/archive/net/md5/Md5URLConnection.java | 30 ++-- .../java/org/archive/net/rsync/Handler.java | 32 ++-- .../archive/net/rsync/RsyncURLConnection.java | 32 ++-- .../main/java/org/archive/net/s3/Handler.java | 30 ++-- .../org/archive/state/ModuleTestBase.java | 31 ++-- .../java/org/archive/surt/SURTTokenizer.java | 32 ++-- .../main/java/org/archive/uid/Generator.java | 30 ++-- .../java/org/archive/uid/UUIDGenerator.java | 30 ++-- .../org/archive/util/AbstractLongFPSet.java | 32 ++-- .../main/java/org/archive/util/Base32.java | 42 +++-- .../org/archive/util/CollectionUtils.java | 48 ------ .../java/org/archive/util/DNSJavaUtil.java | 36 ++--- .../main/java/org/archive/util/DevUtils.java | 30 ++-- .../java/org/archive/util/Histotable.java | 31 ++-- .../util/InterruptibleCharSequence.java | 36 ++--- .../util/InterruptibleCharSequenceTest.java | 36 ++--- .../main/java/org/archive/util/Inverter.java | 44 ----- .../java/org/archive/util/JavaLiterals.java | 36 ++--- .../src/main/java/org/archive/util/LRU.java | 40 +++-- .../java/org/archive/util/MimetypeUtils.java | 38 ++--- .../org/archive/util/OneLineSimpleLogger.java | 38 ++--- .../org/archive/util/PaddingStringBuffer.java | 31 ++-- .../archive/util/PatternMatcherRecycler.java | 91 ----------- .../java/org/archive/util/PreJ15Utils.java | 50 ------ .../java/org/archive/util/ProcessUtils.java | 32 ++-- .../util/ProgressStatisticsReporter.java | 32 ++-- .../java/org/archive/util/PropertyUtils.java | 30 ++-- .../main/java/org/archive/util/Recorder.java | 32 ++-- .../java/org/archive/util/RecorderMarker.java | 30 ++-- .../src/main/java/org/archive/util/SURT.java | 42 +++-- .../main/java/org/archive/util/SubList.java | 150 ------------------ .../org/archive/util/TimestampSerialno.java | 42 +++-- .../main/java/org/archive/util/Transform.java | 42 +++-- .../java/org/archive/util/Transformer.java | 42 +++-- .../org/archive/util/anvl/ANVLRecord.java | 42 +++-- .../java/org/archive/util/anvl/Element.java | 42 +++-- .../org/archive/util/anvl/SubElement.java | 42 +++-- .../util/bdbje/EnhancedEnvironment.java | 30 ++-- .../util/fingerprint/ArrayLongFPCache.java | 42 +++-- .../archive/util/fingerprint/LongFPSet.java | 32 ++-- .../util/fingerprint/LongFPSetCache.java | 31 ++-- .../util/fingerprint/LongFPSetTestCase.java | 32 ++-- .../util/fingerprint/MemLongFPSet.java | 32 ++-- .../util/iterator/LineReadingIterator.java | 42 +++-- .../util/iterator/LookaheadIterator.java | 42 +++-- .../iterator/TransformingIteratorWrapper.java | 42 +++-- .../org/archive/util/ms/BlockFileSystem.java | 40 +++-- .../org/archive/util/ms/BlockInputStream.java | 40 +++-- .../main/java/org/archive/util/ms/Cp1252.java | 40 +++-- .../util/ms/DefaultBlockFileSystem.java | 40 +++-- .../org/archive/util/ms/DefaultEntry.java | 40 +++-- .../main/java/org/archive/util/ms/Doc.java | 40 +++-- .../main/java/org/archive/util/ms/Entry.java | 40 +++-- .../java/org/archive/util/ms/HeaderBlock.java | 40 +++-- .../main/java/org/archive/util/ms/Piece.java | 40 +++-- .../java/org/archive/util/ms/PieceReader.java | 40 +++-- .../java/org/archive/util/ms/PieceTable.java | 40 +++-- .../io/BufferedSeekInputStreamTest.java | 40 +++-- .../archive/io/RecordingInputStreamTest.java | 32 ++-- .../archive/io/RecordingOutputStreamTest.java | 32 ++-- .../io/RepositionableInputStreamTest.java | 32 ++-- .../java/org/archive/io/SinkHandlerTest.java | 32 ++-- .../test/java/org/archive/net/UURITest.java | 32 ++-- .../org/archive/surt/SURTTokenizerTest.java | 32 ++-- .../org/archive/uid/UUIDGeneratorTest.java | 30 ++-- .../java/org/archive/util/IoUtilsTest.java | 36 ++--- .../org/archive/util/MimetypeUtilsTest.java | 38 ++--- .../util/ObjectIdentityBdbCacheTest.java | 38 +++-- .../archive/util/PaddingStringBufferTest.java | 33 ++-- .../test/java/org/archive/util/SURTTest.java | 33 ++-- .../java/org/archive/util/TextUtilsTest.java | 33 ++-- .../fingerprint/ArrayLongFPCacheTest.java | 42 +++-- .../util/fingerprint/LongFPSetCacheTest.java | 33 ++-- .../util/fingerprint/MemLongFPSetTest.java | 35 ++-- .../java/org/archive/util/ms/DocTest.java | 40 +++-- .../org/archive/util/ms/PieceReaderTest.java | 40 +++-- .../crawler/datamodel/UriUniqFilter.java | 30 ++-- .../crawler/framework/Checkpointer.java | 42 +++-- .../archive/crawler/framework/Frontier.java | 32 ++-- .../AntiCalendarCostAssignmentPolicy.java | 42 +++-- .../frontier/BdbMultipleWorkQueues.java | 36 ++--- .../crawler/frontier/BdbWorkQueue.java | 36 ++--- .../frontier/CostAssignmentPolicy.java | 42 +++-- .../frontier/IPQueueAssignmentPolicy.java | 42 +++-- .../frontier/RecyclingSerialBinding.java | 42 +++-- .../frontier/UnitCostAssignmentPolicy.java | 42 +++-- .../frontier/WagCostAssignmentPolicy.java | 42 +++-- .../precedence/BaseQueuePrecedencePolicy.java | 42 +++-- .../precedence/CostUriPrecedencePolicy.java | 42 +++-- .../HighestUriQueuePrecedencePolicy.java | 42 +++-- .../precedence/HopsUriPrecedencePolicy.java | 42 +++-- .../precedence/PrecedenceProvider.java | 42 +++-- .../PreloadedUriPrecedencePolicy.java | 42 +++-- .../precedence/QueuePrecedencePolicy.java | 42 +++-- .../precedence/SimplePrecedenceProvider.java | 42 +++-- .../SuccessCountsQueuePrecedencePolicy.java | 42 +++-- .../precedence/UriPrecedencePolicy.java | 42 +++-- .../crawler/io/NonFatalErrorFormatter.java | 31 ++-- .../crawler/io/RuntimeErrorFormatter.java | 32 ++-- .../crawler/io/StatisticsLogFormatter.java | 29 ++-- .../archive/crawler/io/UriErrorFormatter.java | 31 ++-- .../crawler/io/UriProcessingFormatter.java | 32 ++-- .../postprocessor/LowDiskPauseProcessor.java | 31 ++-- .../crawler/processor/LexicalCrawlMapper.java | 36 ++--- .../crawler/util/BdbUriUniqFilter.java | 42 +++-- .../crawler/util/BenchmarkUriUniqFilters.java | 32 ++-- .../archive/crawler/util/CheckpointUtils.java | 32 ++-- .../util/DiskFPMergeUriUniqFilter.java | 42 +++-- .../crawler/util/FPMergeUriUniqFilter.java | 42 +++-- .../archive/crawler/util/FPUriUniqFilter.java | 31 ++-- .../org/archive/crawler/util/LogUtils.java | 33 ++-- .../java/org/archive/crawler/util/Logs.java | 43 +++-- .../crawler/util/MemFPMergeUriUniqFilter.java | 42 +++-- .../crawler/util/MemUriUniqFilter.java | 31 ++-- .../crawler/util/NoopUriUniqFilter.java | 31 ++-- .../crawler/util/SetBasedUriUniqFilter.java | 42 +++-- .../java/org/archive/crawler/util/Sorts.java | 49 ------ .../archive/crawler/util/StringIntPair.java | 63 -------- .../crawler/util/StringIntPairComparator.java | 48 ------ .../extractor/CharSequenceLinkExtractor.java | 42 +++-- .../extractor/CharSequenceProvider.java | 42 +++-- .../extractor/ExtractErrorListener.java | 42 +++-- .../org/archive/extractor/LinkExtractor.java | 42 +++-- .../crawler/datamodel/CandidateURITest.java | 32 ++-- .../crawler/datamodel/CrawlURITest.java | 36 ++--- .../framework/CrawlerProcessorTestBase.java | 33 ++-- .../crawler/frontier/BdbFrontierTest.java | 33 ++-- .../frontier/BdbMultipleWorkQueuesTest.java | 42 +++-- .../BucketQueueAssignmentPolicyTest.java | 33 ++-- .../crawler/frontier/FrontierJournalTest.java | 36 ++--- .../BaseQueuePrecedencePolicyTest.java | 33 ++-- .../BaseUriPrecedencePolicyTest.java | 33 ++-- .../CostUriPrecedencePolicyTest.java | 33 ++-- .../HighestUriQueuePrecedencePolicyTest.java | 33 ++-- .../HopsUriPrecedencePolicyTest.java | 33 ++-- ...uccessCountsQueuePrecedencePolicyTest.java | 33 ++-- .../postprocessor/LinksScoperTest.java | 33 ++-- .../LowDiskPauseProcessorTest.java | 33 ++-- .../SupplementaryLinksScoperTest.java | 33 ++-- .../prefetch/PreconditionEnforcerTest.java | 33 ++-- .../crawler/prefetch/PreselectorTest.java | 33 ++-- .../crawler/prefetch/QuotaEnforcerTest.java | 33 ++-- .../prefetch/RuntimeLimitEnforcerTest.java | 33 ++-- .../processor/HashCrawlMapperTest.java | 33 ++-- .../processor/LexicalCrawlMapperTest.java | 33 ++-- ...BackgroundImageExtractionSelfTestCase.java | 30 ++-- .../BadURIsStopPageParsingSelfTest.java | 30 ++-- .../crawler/selftest/CharsetSelfTest.java | 30 ++-- .../crawler/selftest/CheckpointSelfTest.java | 30 ++-- .../crawler/selftest/FormAuthServlet.java | 33 ++-- .../crawler/selftest/FramesSelfTestCase.java | 30 ++-- .../crawler/selftest/MaxLinkHopsSelfTest.java | 30 ++-- .../crawler/selftest/RandomServlet.java | 33 ++-- .../crawler/selftest/RandomServletTest.java | 33 ++-- .../crawler/selftest/SimpleSelfTest.java | 33 ++-- .../crawler/selftest/UserAgentSelfTest.java | 33 ++-- .../modules/CoreAttributeConstants.java | 33 ++-- .../java/org/archive/modules/Processor.java | 31 ++-- .../org/archive/modules/ProcessorLevel.java | 62 -------- .../archive/modules/ProcessorTestBase.java | 31 ++-- .../modules/canonicalize/BaseRule.java | 36 ++--- .../canonicalize/CanonicalizationRule.java | 36 ++--- .../canonicalize/FixupQueryString.java | 36 ++--- .../modules/canonicalize/LowercaseRule.java | 36 ++--- .../modules/canonicalize/RegexRule.java | 36 ++--- .../canonicalize/StripSessionCFIDs.java | 36 ++--- .../modules/canonicalize/StripSessionIDs.java | 36 ++--- .../canonicalize/StripUserinfoRule.java | 36 ++--- .../modules/canonicalize/StripWWWNRule.java | 36 ++--- .../modules/canonicalize/StripWWWRule.java | 36 ++--- .../modules/deciderules/DecideResult.java | 31 ++-- .../ExternalGeoLookupInterface.java | 36 ++--- .../MatchesFilePatternDecideRule.java | 32 ++-- .../surt/NotOnDomainsDecideRule.java | 42 +++-- .../deciderules/surt/OnDomainsDecideRule.java | 42 +++-- .../deciderules/surt/OnHostsDecideRule.java | 42 +++-- .../modules/extractor/ExtractorPDF.java | 29 ++-- .../modules/extractor/ExtractorSWF.java | 32 ++-- .../modules/extractor/HTMLLinkContext.java | 31 ++-- .../modules/extractor/LinkContext.java | 31 ++-- .../archive/modules/extractor/PDFParser.java | 30 ++-- .../extractor/UriErrorLoggerModule.java | 33 ++-- .../fetcher/AbstractCookieStorage.java | 33 ++-- .../modules/fetcher/CookieStorage.java | 32 ++-- .../modules/fetcher/FetchStatusCodes.java | 31 ++-- .../HeritrixHttpMethodRetryHandler.java | 40 +++-- .../HeritrixProtocolSocketFactory.java | 36 ++--- .../HeritrixSSLProtocolSocketFactory.java | 30 ++-- .../archive/modules/fetcher/HostResolver.java | 32 ++-- .../modules/fetcher/SimpleCookieStorage.java | 32 ++-- .../modules/fetcher/UserAgentProvider.java | 33 ++-- .../modules/net/DefaultTempDirProvider.java | 33 ++-- .../archive/modules/net/RobotsDirectives.java | 42 +++-- .../org/archive/modules/net/Robotstxt.java | 32 ++-- .../archive/modules/net/ServerCacheUtil.java | 32 ++-- .../recrawl/RecrawlAttributeConstants.java | 33 ++-- .../modules/seeds/SeedFileIterator.java | 130 --------------- .../canonicalize/FixupQueryStringTest.java | 36 ++--- .../canonicalize/LowercaseRuleTest.java | 36 ++--- .../modules/canonicalize/RegexRuleTest.java | 36 ++--- .../canonicalize/StripSessionIDsTest.java | 36 ++--- .../canonicalize/StripUserinfoRuleTest.java | 36 ++--- .../canonicalize/StripWWWNRuleTest.java | 36 ++--- .../canonicalize/StripWWWRuleTest.java | 36 ++--- .../credential/HtmlFormCredentialTest.java | 33 ++-- .../HttpAuthenticationCredentialTest.java | 33 ++-- .../deciderules/DecideRuleSequenceTest.java | 31 ++-- .../AggressiveExtractorHTMLTest.java | 33 ++-- .../modules/extractor/ExtractorDOCTest.java | 33 ++-- .../modules/extractor/ExtractorHTTPTest.java | 33 ++-- .../extractor/ExtractorImpliedURITest.java | 33 ++-- .../modules/extractor/ExtractorJSTest.java | 33 ++-- .../modules/extractor/ExtractorPDFTest.java | 33 ++-- .../modules/extractor/ExtractorSWFTest.java | 33 ++-- .../modules/extractor/ExtractorURITest.java | 33 ++-- .../extractor/ExtractorUniversalTest.java | 33 ++-- .../modules/extractor/ExtractorXMLTest.java | 33 ++-- .../extractor/HTTPContentDigestTest.java | 33 ++-- .../archive/modules/fetcher/FetchDNSTest.java | 33 ++-- .../archive/modules/fetcher/FetchFTPTest.java | 33 ++-- .../modules/fetcher/FetchHTTPTest.java | 33 ++-- .../archive/modules/net/CrawlHostTest.java | 33 ++-- .../archive/modules/net/CrawlServerTest.java | 33 ++-- .../modules/net/RobotsHonoringPolicyTest.java | 33 ++-- .../archive/modules/net/RobotstxtTest.java | 32 ++-- .../archive/modules/net/ServerCacheTest.java | 40 +++-- .../modules/seeds/SeedFileIteratorTest.java | 83 ---------- .../writer/MirrorWriterProcessorTest.java | 33 ++-- 280 files changed, 3978 insertions(+), 6272 deletions(-) delete mode 100644 commons/src/main/java/org/archive/util/CollectionUtils.java delete mode 100644 commons/src/main/java/org/archive/util/Inverter.java delete mode 100644 commons/src/main/java/org/archive/util/PatternMatcherRecycler.java delete mode 100644 commons/src/main/java/org/archive/util/PreJ15Utils.java delete mode 100644 commons/src/main/java/org/archive/util/SubList.java delete mode 100644 engine/src/main/java/org/archive/crawler/util/Sorts.java delete mode 100644 engine/src/main/java/org/archive/crawler/util/StringIntPair.java delete mode 100644 engine/src/main/java/org/archive/crawler/util/StringIntPairComparator.java delete mode 100644 modules/src/main/java/org/archive/modules/ProcessorLevel.java delete mode 100644 modules/src/main/java/org/archive/modules/seeds/SeedFileIterator.java delete mode 100644 modules/src/test/java/org/archive/modules/seeds/SeedFileIteratorTest.java diff --git a/commons/src/main/java/org/archive/checkpointing/CheckpointInputStream.java b/commons/src/main/java/org/archive/checkpointing/CheckpointInputStream.java index 371a9113..f8b31e87 100644 --- a/commons/src/main/java/org/archive/checkpointing/CheckpointInputStream.java +++ b/commons/src/main/java/org/archive/checkpointing/CheckpointInputStream.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * CheckpointInputStream.java - * - * Created on Mar 6, 2007 - * - * $Id:$ + * 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.archive.checkpointing; diff --git a/commons/src/main/java/org/archive/checkpointing/CheckpointRecovery.java b/commons/src/main/java/org/archive/checkpointing/CheckpointRecovery.java index 8a78c31f..c202fd71 100644 --- a/commons/src/main/java/org/archive/checkpointing/CheckpointRecovery.java +++ b/commons/src/main/java/org/archive/checkpointing/CheckpointRecovery.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * CheckpointStream.java - * - * Created on Mar 8, 2007 - * - * $Id:$ + * 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.archive.checkpointing; diff --git a/commons/src/main/java/org/archive/checkpointing/Checkpointable.java b/commons/src/main/java/org/archive/checkpointing/Checkpointable.java index a615609d..4a4dae84 100644 --- a/commons/src/main/java/org/archive/checkpointing/Checkpointable.java +++ b/commons/src/main/java/org/archive/checkpointing/Checkpointable.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Checkpointable.java - * - * Created on Mar 1, 2007 - * - * $Id:$ + * 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.archive.checkpointing; diff --git a/commons/src/main/java/org/archive/checkpointing/RecoverAction.java b/commons/src/main/java/org/archive/checkpointing/RecoverAction.java index 7ae7a68a..5ad60aac 100644 --- a/commons/src/main/java/org/archive/checkpointing/RecoverAction.java +++ b/commons/src/main/java/org/archive/checkpointing/RecoverAction.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RecoverAction.java - * - * Created on Mar 2, 2007 - * - * $Id:$ + * 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.archive.checkpointing; diff --git a/commons/src/main/java/org/archive/httpclient/ConfigurableX509TrustManager.java b/commons/src/main/java/org/archive/httpclient/ConfigurableX509TrustManager.java index 35ae2b06..45a89ba6 100644 --- a/commons/src/main/java/org/archive/httpclient/ConfigurableX509TrustManager.java +++ b/commons/src/main/java/org/archive/httpclient/ConfigurableX509TrustManager.java @@ -1,24 +1,20 @@ -/* ConfigurableX509TrustManager +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Feb 18, 2004 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2004 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.httpclient; diff --git a/commons/src/main/java/org/archive/httpclient/HttpRecorderGetMethod.java b/commons/src/main/java/org/archive/httpclient/HttpRecorderGetMethod.java index 090ab367..105c4f7e 100644 --- a/commons/src/main/java/org/archive/httpclient/HttpRecorderGetMethod.java +++ b/commons/src/main/java/org/archive/httpclient/HttpRecorderGetMethod.java @@ -1,24 +1,20 @@ -/* HttpRecorderGetMethod +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Feb 24, 2004 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2003 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.httpclient; diff --git a/commons/src/main/java/org/archive/httpclient/HttpRecorderMethod.java b/commons/src/main/java/org/archive/httpclient/HttpRecorderMethod.java index 29dcfcdc..932e7e98 100644 --- a/commons/src/main/java/org/archive/httpclient/HttpRecorderMethod.java +++ b/commons/src/main/java/org/archive/httpclient/HttpRecorderMethod.java @@ -1,24 +1,20 @@ -/* HttpRecorderMethod +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on August 22, 2004 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2003 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.httpclient; diff --git a/commons/src/main/java/org/archive/httpclient/HttpRecorderPostMethod.java b/commons/src/main/java/org/archive/httpclient/HttpRecorderPostMethod.java index 8178ad2b..20f1bfd1 100644 --- a/commons/src/main/java/org/archive/httpclient/HttpRecorderPostMethod.java +++ b/commons/src/main/java/org/archive/httpclient/HttpRecorderPostMethod.java @@ -1,24 +1,20 @@ -/* HttpRecorderPostMethod +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Feb 24, 2004 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2003 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.httpclient; diff --git a/commons/src/main/java/org/archive/httpclient/SingleHttpConnectionManager.java b/commons/src/main/java/org/archive/httpclient/SingleHttpConnectionManager.java index 1132b1b8..be8787a6 100644 --- a/commons/src/main/java/org/archive/httpclient/SingleHttpConnectionManager.java +++ b/commons/src/main/java/org/archive/httpclient/SingleHttpConnectionManager.java @@ -1,27 +1,21 @@ -/* SingleHttpConnectionManager -* -* $Id$ -* -* Created on Mar 8, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.httpclient; import java.io.IOException; diff --git a/commons/src/main/java/org/archive/io/Arc2Warc.java b/commons/src/main/java/org/archive/io/Arc2Warc.java index 53e45a7a..2389cbd1 100644 --- a/commons/src/main/java/org/archive/io/Arc2Warc.java +++ b/commons/src/main/java/org/archive/io/Arc2Warc.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created Aug 29, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/ArchiveReader.java b/commons/src/main/java/org/archive/io/ArchiveReader.java index 259987ff..a69a41d2 100644 --- a/commons/src/main/java/org/archive/io/ArchiveReader.java +++ b/commons/src/main/java/org/archive/io/ArchiveReader.java @@ -1,25 +1,22 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on August 21st, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; import it.unimi.dsi.fastutil.io.RepositionableStream; diff --git a/commons/src/main/java/org/archive/io/ArchiveReaderFactory.java b/commons/src/main/java/org/archive/io/ArchiveReaderFactory.java index cf80cc65..4bf7902b 100644 --- a/commons/src/main/java/org/archive/io/ArchiveReaderFactory.java +++ b/commons/src/main/java/org/archive/io/ArchiveReaderFactory.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on August 18th, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2004 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/ArchiveRecord.java b/commons/src/main/java/org/archive/io/ArchiveRecord.java index d1999a15..3987f0a1 100644 --- a/commons/src/main/java/org/archive/io/ArchiveRecord.java +++ b/commons/src/main/java/org/archive/io/ArchiveRecord.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on August 21st, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/ArchiveRecordHeader.java b/commons/src/main/java/org/archive/io/ArchiveRecordHeader.java index 2a524feb..51fbc3ea 100644 --- a/commons/src/main/java/org/archive/io/ArchiveRecordHeader.java +++ b/commons/src/main/java/org/archive/io/ArchiveRecordHeader.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on August 21st, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/ArraySeekInputStream.java b/commons/src/main/java/org/archive/io/ArraySeekInputStream.java index 8b9df9c3..5b30747e 100644 --- a/commons/src/main/java/org/archive/io/ArraySeekInputStream.java +++ b/commons/src/main/java/org/archive/io/ArraySeekInputStream.java @@ -1,25 +1,21 @@ -/* ArraySeekInputStream -* -* Created on September 18, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; import java.io.IOException; diff --git a/commons/src/main/java/org/archive/io/BufferedSeekInputStream.java b/commons/src/main/java/org/archive/io/BufferedSeekInputStream.java index ea700884..2fdc72b7 100644 --- a/commons/src/main/java/org/archive/io/BufferedSeekInputStream.java +++ b/commons/src/main/java/org/archive/io/BufferedSeekInputStream.java @@ -1,25 +1,21 @@ -/* BufferedSeekInputStream -* -* Created on September 14, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/CharSubSequence.java b/commons/src/main/java/org/archive/io/CharSubSequence.java index 8b22dfe1..1e32c2b4 100644 --- a/commons/src/main/java/org/archive/io/CharSubSequence.java +++ b/commons/src/main/java/org/archive/io/CharSubSequence.java @@ -1,24 +1,20 @@ -/* CharSubSequence.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Sep 30, 2003 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2003 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/CompositeFileInputStream.java b/commons/src/main/java/org/archive/io/CompositeFileInputStream.java index 3262fe66..e705842e 100644 --- a/commons/src/main/java/org/archive/io/CompositeFileInputStream.java +++ b/commons/src/main/java/org/archive/io/CompositeFileInputStream.java @@ -1,27 +1,21 @@ -/* CompositeFileInputStream -* -* $Id$ -* -* Created on May 18, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; import java.io.File; diff --git a/commons/src/main/java/org/archive/io/CompositeFileReader.java b/commons/src/main/java/org/archive/io/CompositeFileReader.java index ff1e0fa1..14b56219 100644 --- a/commons/src/main/java/org/archive/io/CompositeFileReader.java +++ b/commons/src/main/java/org/archive/io/CompositeFileReader.java @@ -1,27 +1,21 @@ -/* CompositeFileReader -* -* $Id$ -* -* Created on May 18, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; import java.io.File; diff --git a/commons/src/main/java/org/archive/io/DefaultWriterPoolSettings.java b/commons/src/main/java/org/archive/io/DefaultWriterPoolSettings.java index 2dcaf53d..47c3ab59 100644 --- a/commons/src/main/java/org/archive/io/DefaultWriterPoolSettings.java +++ b/commons/src/main/java/org/archive/io/DefaultWriterPoolSettings.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * DefaultWriterPoolSettings.java - * - * Created on Mar 11, 2007 - * - * $Id:$ + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/Endian.java b/commons/src/main/java/org/archive/io/Endian.java index 55121429..f6d89aaa 100644 --- a/commons/src/main/java/org/archive/io/Endian.java +++ b/commons/src/main/java/org/archive/io/Endian.java @@ -1,25 +1,21 @@ -/* Endian -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/GzipHeader.java b/commons/src/main/java/org/archive/io/GzipHeader.java index 731a8791..4acaf7b3 100644 --- a/commons/src/main/java/org/archive/io/GzipHeader.java +++ b/commons/src/main/java/org/archive/io/GzipHeader.java @@ -1,27 +1,21 @@ -/* GzipHeader -* -* $Id$ -* -* Created on July 5, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; import java.io.EOFException; diff --git a/commons/src/main/java/org/archive/io/LoudObjectOutputStream.java b/commons/src/main/java/org/archive/io/LoudObjectOutputStream.java index 9d6c52ef..959c2620 100644 --- a/commons/src/main/java/org/archive/io/LoudObjectOutputStream.java +++ b/commons/src/main/java/org/archive/io/LoudObjectOutputStream.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * LoudObjectOutputStream.java - * - * Created on Mar 10, 2007 - * - * $Id:$ + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/NoGzipMagicException.java b/commons/src/main/java/org/archive/io/NoGzipMagicException.java index 73d08d94..a65b78c4 100644 --- a/commons/src/main/java/org/archive/io/NoGzipMagicException.java +++ b/commons/src/main/java/org/archive/io/NoGzipMagicException.java @@ -1,26 +1,20 @@ -/* NoGzipMagicException.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Dec 15, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/ObjectPlusFilesOutputStream.java b/commons/src/main/java/org/archive/io/ObjectPlusFilesOutputStream.java index 7e500c3a..6af975f0 100644 --- a/commons/src/main/java/org/archive/io/ObjectPlusFilesOutputStream.java +++ b/commons/src/main/java/org/archive/io/ObjectPlusFilesOutputStream.java @@ -1,27 +1,21 @@ -/* ObjectPlusFilesOutputStream -* -* $Id$ -* -* Created on Apr 28, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; import java.io.File; diff --git a/commons/src/main/java/org/archive/io/OriginSeekInputStream.java b/commons/src/main/java/org/archive/io/OriginSeekInputStream.java index b13d7fc6..00605d82 100644 --- a/commons/src/main/java/org/archive/io/OriginSeekInputStream.java +++ b/commons/src/main/java/org/archive/io/OriginSeekInputStream.java @@ -1,25 +1,21 @@ -/* OriginSeekInputStream -* -* Created on September 14, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/RandomAccessInputStream.java b/commons/src/main/java/org/archive/io/RandomAccessInputStream.java index 9b6bee77..d8dd260b 100644 --- a/commons/src/main/java/org/archive/io/RandomAccessInputStream.java +++ b/commons/src/main/java/org/archive/io/RandomAccessInputStream.java @@ -1,25 +1,21 @@ -/* RandomAccessInputStream -* -* Created on May 21, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/RandomAccessOutputStream.java b/commons/src/main/java/org/archive/io/RandomAccessOutputStream.java index a1caec90..e0f52fe6 100644 --- a/commons/src/main/java/org/archive/io/RandomAccessOutputStream.java +++ b/commons/src/main/java/org/archive/io/RandomAccessOutputStream.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RandomAccessOutputStream.java - * Created on May 21, 2004 - * - * $Header$ + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/RecorderIOException.java b/commons/src/main/java/org/archive/io/RecorderIOException.java index 42c8e076..07b30061 100644 --- a/commons/src/main/java/org/archive/io/RecorderIOException.java +++ b/commons/src/main/java/org/archive/io/RecorderIOException.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RecorderIOException.java - * Created on Oct 22, 2003 - * - * $Header$ + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/RecorderLengthExceededException.java b/commons/src/main/java/org/archive/io/RecorderLengthExceededException.java index c4a5eda1..8c3e067d 100644 --- a/commons/src/main/java/org/archive/io/RecorderLengthExceededException.java +++ b/commons/src/main/java/org/archive/io/RecorderLengthExceededException.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RecorderLengthExceededException.java - * Created on Oct 22, 2003 - * - * $Header$ + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/RecorderTimeoutException.java b/commons/src/main/java/org/archive/io/RecorderTimeoutException.java index 6efa875a..32be5b5d 100644 --- a/commons/src/main/java/org/archive/io/RecorderTimeoutException.java +++ b/commons/src/main/java/org/archive/io/RecorderTimeoutException.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RecorderTimeoutException.java - * Created on Oct 22, 2003 - * - * $Header$ + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/RecorderTooMuchHeaderException.java b/commons/src/main/java/org/archive/io/RecorderTooMuchHeaderException.java index f2dc2ab7..23f5d264 100644 --- a/commons/src/main/java/org/archive/io/RecorderTooMuchHeaderException.java +++ b/commons/src/main/java/org/archive/io/RecorderTooMuchHeaderException.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RecorderLengthExceededException.java - * Created on Oct 22, 2003 - * - * $Header$ + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/RecordingInputStream.java b/commons/src/main/java/org/archive/io/RecordingInputStream.java index 3f614ee7..8e0202f4 100644 --- a/commons/src/main/java/org/archive/io/RecordingInputStream.java +++ b/commons/src/main/java/org/archive/io/RecordingInputStream.java @@ -1,26 +1,20 @@ -/* RecordingInputStream +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Sep 24, 2003 + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/RecoverableIOException.java b/commons/src/main/java/org/archive/io/RecoverableIOException.java index c4cf7b55..5ce2251a 100644 --- a/commons/src/main/java/org/archive/io/RecoverableIOException.java +++ b/commons/src/main/java/org/archive/io/RecoverableIOException.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on August 21st, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/RepositionableInputStream.java b/commons/src/main/java/org/archive/io/RepositionableInputStream.java index f5fe6b52..6f885130 100644 --- a/commons/src/main/java/org/archive/io/RepositionableInputStream.java +++ b/commons/src/main/java/org/archive/io/RepositionableInputStream.java @@ -1,26 +1,20 @@ -/* RepositionableInputStream.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Dec 20, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/SafeSeekInputStream.java b/commons/src/main/java/org/archive/io/SafeSeekInputStream.java index a40a08bf..0d8f83b1 100644 --- a/commons/src/main/java/org/archive/io/SafeSeekInputStream.java +++ b/commons/src/main/java/org/archive/io/SafeSeekInputStream.java @@ -1,25 +1,21 @@ -/* SafeSeekInputStream -* -* Created on September 14, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/SeekInputStream.java b/commons/src/main/java/org/archive/io/SeekInputStream.java index c46405c8..177724ec 100644 --- a/commons/src/main/java/org/archive/io/SeekInputStream.java +++ b/commons/src/main/java/org/archive/io/SeekInputStream.java @@ -1,25 +1,21 @@ -/* SeekInputStream -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/SinkHandlerLogThread.java b/commons/src/main/java/org/archive/io/SinkHandlerLogThread.java index 89a899f7..0070785e 100644 --- a/commons/src/main/java/org/archive/io/SinkHandlerLogThread.java +++ b/commons/src/main/java/org/archive/io/SinkHandlerLogThread.java @@ -1,24 +1,20 @@ -/* SinkHandlerLogRecord +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created Aug 9, 2005 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2005 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/UTF8Bytes.java b/commons/src/main/java/org/archive/io/UTF8Bytes.java index be326d5a..c280b08d 100644 --- a/commons/src/main/java/org/archive/io/UTF8Bytes.java +++ b/commons/src/main/java/org/archive/io/UTF8Bytes.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created Jul 27, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/main/java/org/archive/io/arc/ARCConstants.java b/commons/src/main/java/org/archive/io/arc/ARCConstants.java index c69a7590..8a5bbd31 100644 --- a/commons/src/main/java/org/archive/io/arc/ARCConstants.java +++ b/commons/src/main/java/org/archive/io/arc/ARCConstants.java @@ -1,27 +1,20 @@ /* - * ARCConstants + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Dec 30, 2003. + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io.arc; diff --git a/commons/src/main/java/org/archive/io/arc/ARCLocation.java b/commons/src/main/java/org/archive/io/arc/ARCLocation.java index 227d9e89..c6c64437 100644 --- a/commons/src/main/java/org/archive/io/arc/ARCLocation.java +++ b/commons/src/main/java/org/archive/io/arc/ARCLocation.java @@ -1,26 +1,20 @@ -/* ARCLocation - * - * $Id$ - * - * Created on April 27, 2005. - * - * Copyright (C) 2005 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or any - * later version. - * - * The archive-access tools are distributed in the hope that they will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser - * Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License along with - * the archive-access tools; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io.arc; diff --git a/commons/src/main/java/org/archive/io/arc/ARCUtils.java b/commons/src/main/java/org/archive/io/arc/ARCUtils.java index f39c71c1..ac0ce3ce 100644 --- a/commons/src/main/java/org/archive/io/arc/ARCUtils.java +++ b/commons/src/main/java/org/archive/io/arc/ARCUtils.java @@ -1,24 +1,20 @@ -/* ARCUtils +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Aug 10, 2005 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2005 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io.arc; diff --git a/commons/src/main/java/org/archive/io/arc/ARCWriterPool.java b/commons/src/main/java/org/archive/io/arc/ARCWriterPool.java index 5463a253..e06dc086 100644 --- a/commons/src/main/java/org/archive/io/arc/ARCWriterPool.java +++ b/commons/src/main/java/org/archive/io/arc/ARCWriterPool.java @@ -1,26 +1,20 @@ -/* ARCWriterPool +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Jan 22, 2004 + * The IA 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 * - * Copyright (C) 2004 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io.arc; diff --git a/commons/src/main/java/org/archive/io/warc/WARCWriterPool.java b/commons/src/main/java/org/archive/io/warc/WARCWriterPool.java index 6638a26b..e9adfb02 100644 --- a/commons/src/main/java/org/archive/io/warc/WARCWriterPool.java +++ b/commons/src/main/java/org/archive/io/warc/WARCWriterPool.java @@ -1,24 +1,20 @@ -/* $Id: WARCWriterPool.java 4566 2006-08-31 16:51:41Z stack-sf $ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on August 1st, 2006. + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io.warc; diff --git a/commons/src/main/java/org/archive/net/ClientFTP.java b/commons/src/main/java/org/archive/net/ClientFTP.java index b9a803d0..3b1b170b 100644 --- a/commons/src/main/java/org/archive/net/ClientFTP.java +++ b/commons/src/main/java/org/archive/net/ClientFTP.java @@ -1,26 +1,20 @@ -/* ClientFTP.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Jun 5, 2003 + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net; diff --git a/commons/src/main/java/org/archive/net/DownloadURLConnection.java b/commons/src/main/java/org/archive/net/DownloadURLConnection.java index a735a521..c98eae11 100644 --- a/commons/src/main/java/org/archive/net/DownloadURLConnection.java +++ b/commons/src/main/java/org/archive/net/DownloadURLConnection.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created August 11th, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net; diff --git a/commons/src/main/java/org/archive/net/FTPException.java b/commons/src/main/java/org/archive/net/FTPException.java index 8488caae..2d104390 100644 --- a/commons/src/main/java/org/archive/net/FTPException.java +++ b/commons/src/main/java/org/archive/net/FTPException.java @@ -1,26 +1,20 @@ -/* FTPException.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Jun 5, 2003 + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net; diff --git a/commons/src/main/java/org/archive/net/LaxURI.java b/commons/src/main/java/org/archive/net/LaxURI.java index 35f50915..4e71aebc 100644 --- a/commons/src/main/java/org/archive/net/LaxURI.java +++ b/commons/src/main/java/org/archive/net/LaxURI.java @@ -1,27 +1,21 @@ -/* LaxURI -* -* $Id$ -* -* Created on Aug 3, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.net; import java.util.Arrays; diff --git a/commons/src/main/java/org/archive/net/LaxURLCodec.java b/commons/src/main/java/org/archive/net/LaxURLCodec.java index 0a4595ef..f60ff3f2 100644 --- a/commons/src/main/java/org/archive/net/LaxURLCodec.java +++ b/commons/src/main/java/org/archive/net/LaxURLCodec.java @@ -1,27 +1,21 @@ -/* IAURLCodec -* -* $Id$ -* -* Created on Jul 21, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.net; import java.io.ByteArrayOutputStream; diff --git a/commons/src/main/java/org/archive/net/UURI.java b/commons/src/main/java/org/archive/net/UURI.java index 278bbd0a..3df1ae4c 100644 --- a/commons/src/main/java/org/archive/net/UURI.java +++ b/commons/src/main/java/org/archive/net/UURI.java @@ -1,26 +1,20 @@ -/* UURI +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Apr 18, 2003 + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net; diff --git a/commons/src/main/java/org/archive/net/UURIFactory.java b/commons/src/main/java/org/archive/net/UURIFactory.java index ba2a6196..7aa9fa18 100644 --- a/commons/src/main/java/org/archive/net/UURIFactory.java +++ b/commons/src/main/java/org/archive/net/UURIFactory.java @@ -1,26 +1,20 @@ -/* UURIFactory +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on July 16, 2004 + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net; diff --git a/commons/src/main/java/org/archive/net/md5/Handler.java b/commons/src/main/java/org/archive/net/md5/Handler.java index d7e69137..8afcdebb 100644 --- a/commons/src/main/java/org/archive/net/md5/Handler.java +++ b/commons/src/main/java/org/archive/net/md5/Handler.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created August 11th, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net.md5; diff --git a/commons/src/main/java/org/archive/net/md5/Md5URLConnection.java b/commons/src/main/java/org/archive/net/md5/Md5URLConnection.java index 2cff14f4..e4fe98e3 100644 --- a/commons/src/main/java/org/archive/net/md5/Md5URLConnection.java +++ b/commons/src/main/java/org/archive/net/md5/Md5URLConnection.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created August 11th, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net.md5; diff --git a/commons/src/main/java/org/archive/net/rsync/Handler.java b/commons/src/main/java/org/archive/net/rsync/Handler.java index 06b7e1d5..9eb35f5d 100644 --- a/commons/src/main/java/org/archive/net/rsync/Handler.java +++ b/commons/src/main/java/org/archive/net/rsync/Handler.java @@ -1,26 +1,20 @@ -/* RsyncProtocolHandler.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Jul 15, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net.rsync; diff --git a/commons/src/main/java/org/archive/net/rsync/RsyncURLConnection.java b/commons/src/main/java/org/archive/net/rsync/RsyncURLConnection.java index 71126f5f..c6097e96 100644 --- a/commons/src/main/java/org/archive/net/rsync/RsyncURLConnection.java +++ b/commons/src/main/java/org/archive/net/rsync/RsyncURLConnection.java @@ -1,26 +1,20 @@ -/* RsyncURLConnection.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Jul 19, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net.rsync; diff --git a/commons/src/main/java/org/archive/net/s3/Handler.java b/commons/src/main/java/org/archive/net/s3/Handler.java index c7063925..d00642cd 100644 --- a/commons/src/main/java/org/archive/net/s3/Handler.java +++ b/commons/src/main/java/org/archive/net/s3/Handler.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created October 28th, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net.s3; diff --git a/commons/src/main/java/org/archive/state/ModuleTestBase.java b/commons/src/main/java/org/archive/state/ModuleTestBase.java index e32d3d11..7c50df66 100644 --- a/commons/src/main/java/org/archive/state/ModuleTestBase.java +++ b/commons/src/main/java/org/archive/state/ModuleTestBase.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2006 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * cd .java - * Created on October 5, 2006 - * - * $Header$ + * 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.archive.state; diff --git a/commons/src/main/java/org/archive/surt/SURTTokenizer.java b/commons/src/main/java/org/archive/surt/SURTTokenizer.java index 7f8f71b9..08d8568c 100644 --- a/commons/src/main/java/org/archive/surt/SURTTokenizer.java +++ b/commons/src/main/java/org/archive/surt/SURTTokenizer.java @@ -1,26 +1,20 @@ -/* SURTTokenizer +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on 3:21:49 PM May 11, 2006. + * The IA 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 * - * Copyright (C) 2006 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of wayback. - * - * wayback is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * wayback is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with wayback; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.surt; diff --git a/commons/src/main/java/org/archive/uid/Generator.java b/commons/src/main/java/org/archive/uid/Generator.java index 6c6fc744..32c0461c 100644 --- a/commons/src/main/java/org/archive/uid/Generator.java +++ b/commons/src/main/java/org/archive/uid/Generator.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on July 27th, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.uid; diff --git a/commons/src/main/java/org/archive/uid/UUIDGenerator.java b/commons/src/main/java/org/archive/uid/UUIDGenerator.java index d7809a98..3dd64e82 100644 --- a/commons/src/main/java/org/archive/uid/UUIDGenerator.java +++ b/commons/src/main/java/org/archive/uid/UUIDGenerator.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on July 27th, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.uid; diff --git a/commons/src/main/java/org/archive/util/AbstractLongFPSet.java b/commons/src/main/java/org/archive/util/AbstractLongFPSet.java index 7d45cdf1..015023bd 100644 --- a/commons/src/main/java/org/archive/util/AbstractLongFPSet.java +++ b/commons/src/main/java/org/archive/util/AbstractLongFPSet.java @@ -1,26 +1,20 @@ -/* AbstractLongFPSet +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Oct 20, 2003 + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.util; diff --git a/commons/src/main/java/org/archive/util/Base32.java b/commons/src/main/java/org/archive/util/Base32.java index 47d5bc86..addfd11e 100644 --- a/commons/src/main/java/org/archive/util/Base32.java +++ b/commons/src/main/java/org/archive/util/Base32.java @@ -1,27 +1,21 @@ -/* Base32 -* -* $Id$ -* -* Created on Jan 21, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; /** diff --git a/commons/src/main/java/org/archive/util/CollectionUtils.java b/commons/src/main/java/org/archive/util/CollectionUtils.java deleted file mode 100644 index 8f17b53d..00000000 --- a/commons/src/main/java/org/archive/util/CollectionUtils.java +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (C) 2007 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * CollectionUtils.java - * Created on January 23, 2007 - * - * $Header:$ - */ -package org.archive.util; - -import java.util.Arrays; -import java.util.Collections; -import java.util.HashSet; -import java.util.List; -import java.util.Set; - -public class CollectionUtils { - - - - private CollectionUtils() { - - } - - - - public static Set constantSet(T... objects) { - List list = Arrays.asList(objects); - HashSet set = new HashSet(list); - return Collections.unmodifiableSet(set); - } - -} diff --git a/commons/src/main/java/org/archive/util/DNSJavaUtil.java b/commons/src/main/java/org/archive/util/DNSJavaUtil.java index 470f93b6..a45fd4e0 100644 --- a/commons/src/main/java/org/archive/util/DNSJavaUtil.java +++ b/commons/src/main/java/org/archive/util/DNSJavaUtil.java @@ -1,24 +1,20 @@ -/* DNSJavaUtil - * - * Created on Oct 8, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; diff --git a/commons/src/main/java/org/archive/util/DevUtils.java b/commons/src/main/java/org/archive/util/DevUtils.java index a0f7e24a..98776f1b 100644 --- a/commons/src/main/java/org/archive/util/DevUtils.java +++ b/commons/src/main/java/org/archive/util/DevUtils.java @@ -1,24 +1,20 @@ -/* DevUtils +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Oct 29, 2003 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2003 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.util; diff --git a/commons/src/main/java/org/archive/util/Histotable.java b/commons/src/main/java/org/archive/util/Histotable.java index 9e998e51..bbcae681 100644 --- a/commons/src/main/java/org/archive/util/Histotable.java +++ b/commons/src/main/java/org/archive/util/Histotable.java @@ -1,27 +1,20 @@ /* - * Histotable.java - * - * Created on Aug 5, 2004 + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2007 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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. */ diff --git a/commons/src/main/java/org/archive/util/InterruptibleCharSequence.java b/commons/src/main/java/org/archive/util/InterruptibleCharSequence.java index dc495a53..a6442289 100644 --- a/commons/src/main/java/org/archive/util/InterruptibleCharSequence.java +++ b/commons/src/main/java/org/archive/util/InterruptibleCharSequence.java @@ -1,24 +1,20 @@ -/* InterruptibleCharSequence - * - * Created on Jun 27, 2007 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2007 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; diff --git a/commons/src/main/java/org/archive/util/InterruptibleCharSequenceTest.java b/commons/src/main/java/org/archive/util/InterruptibleCharSequenceTest.java index 9618423e..a3a5f180 100644 --- a/commons/src/main/java/org/archive/util/InterruptibleCharSequenceTest.java +++ b/commons/src/main/java/org/archive/util/InterruptibleCharSequenceTest.java @@ -1,24 +1,20 @@ -/* InterruptibleCharSequenceTest - * - * Created on Jun 27, 2007 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2007 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; diff --git a/commons/src/main/java/org/archive/util/Inverter.java b/commons/src/main/java/org/archive/util/Inverter.java deleted file mode 100644 index 5153e358..00000000 --- a/commons/src/main/java/org/archive/util/Inverter.java +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright (C) 2003 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Inverter.java - * Created on May 21, 2004 - * - * $Header$ - */ -package org.archive.util; - -import org.apache.commons.collections.Predicate; - - -/** - * A predicate that inverts another. - * @author gojomo - */ -public class Inverter implements Predicate { - Predicate innerPredicate; - - public Inverter(Predicate p) { - super(); - this.innerPredicate = p; - } - - public boolean evaluate(Object arg0) { - return !innerPredicate.evaluate(arg0); - } -} diff --git a/commons/src/main/java/org/archive/util/JavaLiterals.java b/commons/src/main/java/org/archive/util/JavaLiterals.java index 3059afd6..682597f8 100644 --- a/commons/src/main/java/org/archive/util/JavaLiterals.java +++ b/commons/src/main/java/org/archive/util/JavaLiterals.java @@ -1,24 +1,20 @@ -/* JavaLiterals - * - * Created on Dec 31, 2003 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; diff --git a/commons/src/main/java/org/archive/util/LRU.java b/commons/src/main/java/org/archive/util/LRU.java index b441b510..dec5a62b 100644 --- a/commons/src/main/java/org/archive/util/LRU.java +++ b/commons/src/main/java/org/archive/util/LRU.java @@ -1,25 +1,21 @@ -/* LRU -* -* Created on September 18, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; import java.util.LinkedHashMap; diff --git a/commons/src/main/java/org/archive/util/MimetypeUtils.java b/commons/src/main/java/org/archive/util/MimetypeUtils.java index 7866b000..2b36215d 100644 --- a/commons/src/main/java/org/archive/util/MimetypeUtils.java +++ b/commons/src/main/java/org/archive/util/MimetypeUtils.java @@ -1,26 +1,20 @@ -/* MimetypeUtils - * - * $Id$ - * - * Created on Sep 22, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; diff --git a/commons/src/main/java/org/archive/util/OneLineSimpleLogger.java b/commons/src/main/java/org/archive/util/OneLineSimpleLogger.java index 2cd7fe0b..9758aa32 100644 --- a/commons/src/main/java/org/archive/util/OneLineSimpleLogger.java +++ b/commons/src/main/java/org/archive/util/OneLineSimpleLogger.java @@ -1,26 +1,20 @@ -/* OneLineSimpleLogger - * - * $Id$ - * - * Created on Jul 22, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; diff --git a/commons/src/main/java/org/archive/util/PaddingStringBuffer.java b/commons/src/main/java/org/archive/util/PaddingStringBuffer.java index 626d1937..c7c2d983 100644 --- a/commons/src/main/java/org/archive/util/PaddingStringBuffer.java +++ b/commons/src/main/java/org/archive/util/PaddingStringBuffer.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * PaddingStringBuffer.java - * Created on Oct 23, 2003 - * - * $Header$ + * 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.archive.util; diff --git a/commons/src/main/java/org/archive/util/PatternMatcherRecycler.java b/commons/src/main/java/org/archive/util/PatternMatcherRecycler.java deleted file mode 100644 index 3c37ed9a..00000000 --- a/commons/src/main/java/org/archive/util/PatternMatcherRecycler.java +++ /dev/null @@ -1,91 +0,0 @@ -/* PatternMatcherRecycler -* -* $Id$ -* -* Created on Dec 21, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ -package org.archive.util; - -import java.util.EmptyStackException; -import java.util.Stack; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -/** - * Utility class to retain a compiled Pattern and multiple corresponding - * Matcher instances for reuse. - * - * @author gojomo - */ -public class PatternMatcherRecycler { - /** - * Upper-bound on Matcher Stacks. - * Profiling has the size of these Stacks tending upward over - * the life of a crawl. TODO: do something better than an - * a coarse upperbound; do something that can get GC'd in - * low-memory conditions. - */ - private final static int MAXIMUM_STACK_SIZE = 10; - - private Pattern pattern; - private Stack matchers; - - public PatternMatcherRecycler(Pattern p) { - this.pattern = p; - this.matchers = new Stack(); - } - - public Pattern getPattern() { - return this.pattern; - } - - /** - * Get a Matcher for the internal Pattern, against the given - * input sequence. Reuse an old Matcher if possible, otherwise - * create a new one. - * - * @param input CharSequence to match - * @return Matcher set against the the input sequence - */ - public Matcher getMatcher(CharSequence input) { - if (input == null) { - throw new IllegalArgumentException("CharSequence 'input' must not be null"); - } - try { - return ((Matcher)matchers.pop()).reset(input); - } catch (EmptyStackException e) { - return this.pattern.matcher(input); - } - } - - /** - * Return the given Matcher to the reuse stack, if stack is - * not already at its maximum size. - * - * @param m the Matcher to save for reuse - */ - public void freeMatcher(Matcher m) { - if(this.matchers.size() < MAXIMUM_STACK_SIZE) { - matchers.push(m); - } - } -} - diff --git a/commons/src/main/java/org/archive/util/PreJ15Utils.java b/commons/src/main/java/org/archive/util/PreJ15Utils.java deleted file mode 100644 index ab557023..00000000 --- a/commons/src/main/java/org/archive/util/PreJ15Utils.java +++ /dev/null @@ -1,50 +0,0 @@ -/* PreJ15Utils -* -* $Id$ -* -* Created on May 20, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ -package org.archive.util; - -/** - * A collection of utility methods doing things that are easier in Java 1.5. - * - * @author gojomo - * @deprecated Will be removed post 1.10.0 Heritrix. - */ -public class PreJ15Utils { - - /** - * Version of 1.5's StringBuffer.append(CharSequence s, int start, int finish) - * @param buffer StringBuffer to append to - * @param cs CharSequence with material to append - * @param start position from which to begin appending - * @param end position at which to stop appending (exclusive) - */ - public static StringBuffer append(StringBuffer buffer, CharSequence cs, int start, int end) { - // in 1.5, this would be builder.append(cs, start, end); - for(int i = start; iThis implementation is efficient if the super list is random-access. - * LinkedList-style super lists should subclass this and provide a custom - * iterator. - * - * @author pjack - * @param the element type of the list - */ -public class SubList extends AbstractList implements Serializable { - - private static final long serialVersionUID = 1L; - - /** - * The list that created this SubList. - */ - final private List delegate; - - /** - * The starting index of the SubList, inclusive. - */ - private int start; - - /** - * The ending index of the SubList, exclusive. - */ - private int end; - - - /** - * Constructor. - * - * @param delegate the list that create this SubList - * @param start the starting index of the sublist, inclusive - * @param end the ending index of the sublist, exclusive - * @throws IndexOutOfBoundsException if start or end are outside the - * bounds of the list - * @throws IllegalArgumentException if end is less than start - */ - public SubList(List delegate, int start, int end) { - if ((start < 0) || (start > delegate.size())) { - throw new IndexOutOfBoundsException(); - } - if ((end < 0) || (end > delegate.size())) { - throw new IndexOutOfBoundsException(); - } - if (end < start) { - throw new IllegalArgumentException(); - } - this.delegate = delegate; - this.start = start; - this.end = end; - } - - /** - * Ensures that the given index is strictly within the bounds of this - * SubList. - * - * @param index the index to check - * @throws IndexOutOfBoundsException if the index is out of bounds - */ - private void ensureInside(int index) { - if ((index < 0) || (index >= end - start)) { - throw new IndexOutOfBoundsException(); - } - } - - /** - * Ensures that the given index is either within bounds or on the border - * of this SubList. In other words, this method allows the given index - * to be equal to {@link #size()}. - * - * @param index the index to check - * @throws IndexOutOfBoundsException if the index is out of bounds - */ - private void ensureBorder(int index) { - if ((index < 0) || (index > end - start)) { - throw new IndexOutOfBoundsException(); - } - } - - - @Override - public E get(int index) { - ensureInside(index); - return delegate.get(start + index); - } - - - @Override - public int size() { - return end - start; - } - - - @Override - public E set(int index, E value) { - ensureInside(index); - return delegate.set(start + index, value); - } - - - @Override - public void add(int index, E value) { - ensureBorder(index); - delegate.add(start + index, value); - end++; - } - - - @Override - public E remove(int index) { - ensureInside(index); - return delegate.remove(start + index); - } -} diff --git a/commons/src/main/java/org/archive/util/TimestampSerialno.java b/commons/src/main/java/org/archive/util/TimestampSerialno.java index 4a46c9a3..ed4550d6 100644 --- a/commons/src/main/java/org/archive/util/TimestampSerialno.java +++ b/commons/src/main/java/org/archive/util/TimestampSerialno.java @@ -1,27 +1,21 @@ -/* TimestampSerialno -* -* $Id$ -* -* Created July 19th, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; /** diff --git a/commons/src/main/java/org/archive/util/Transform.java b/commons/src/main/java/org/archive/util/Transform.java index 99f8c91c..c066dbf5 100644 --- a/commons/src/main/java/org/archive/util/Transform.java +++ b/commons/src/main/java/org/archive/util/Transform.java @@ -1,27 +1,21 @@ -/* Transform -* -* $Id$ -* -* Created on September 26, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; import java.util.AbstractCollection; diff --git a/commons/src/main/java/org/archive/util/Transformer.java b/commons/src/main/java/org/archive/util/Transformer.java index 54a2a37b..4c36b649 100644 --- a/commons/src/main/java/org/archive/util/Transformer.java +++ b/commons/src/main/java/org/archive/util/Transformer.java @@ -1,27 +1,21 @@ -/* Transformer -* -* $Id$ -* -* Created on September 26, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; diff --git a/commons/src/main/java/org/archive/util/anvl/ANVLRecord.java b/commons/src/main/java/org/archive/util/anvl/ANVLRecord.java index b5b7dd46..6ff44ef9 100644 --- a/commons/src/main/java/org/archive/util/anvl/ANVLRecord.java +++ b/commons/src/main/java/org/archive/util/anvl/ANVLRecord.java @@ -1,27 +1,21 @@ -/* ANVLRecord -* -* $Id$ -* -* Created on July 26, 2006. -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.anvl; import java.io.ByteArrayOutputStream; diff --git a/commons/src/main/java/org/archive/util/anvl/Element.java b/commons/src/main/java/org/archive/util/anvl/Element.java index 525c1fe8..5881fa9b 100644 --- a/commons/src/main/java/org/archive/util/anvl/Element.java +++ b/commons/src/main/java/org/archive/util/anvl/Element.java @@ -1,27 +1,21 @@ -/* Element -* -* $Id$ -* -* Created on July 26, 2006. -* -* Copyright (C) 2006 Internet Archive.e. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.anvl; diff --git a/commons/src/main/java/org/archive/util/anvl/SubElement.java b/commons/src/main/java/org/archive/util/anvl/SubElement.java index 3d9420a4..33b9e9bb 100644 --- a/commons/src/main/java/org/archive/util/anvl/SubElement.java +++ b/commons/src/main/java/org/archive/util/anvl/SubElement.java @@ -1,27 +1,21 @@ -/* SubElement -* -* $Id$ -* -* Created on July 26, 2006. -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.anvl; /** diff --git a/commons/src/main/java/org/archive/util/bdbje/EnhancedEnvironment.java b/commons/src/main/java/org/archive/util/bdbje/EnhancedEnvironment.java index 86b488f6..cb28ce58 100644 --- a/commons/src/main/java/org/archive/util/bdbje/EnhancedEnvironment.java +++ b/commons/src/main/java/org/archive/util/bdbje/EnhancedEnvironment.java @@ -1,24 +1,20 @@ -/* EnhancedEnvironment.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on February 18. 2007 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2007 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.util.bdbje; diff --git a/commons/src/main/java/org/archive/util/fingerprint/ArrayLongFPCache.java b/commons/src/main/java/org/archive/util/fingerprint/ArrayLongFPCache.java index b14e22aa..ceb664b8 100644 --- a/commons/src/main/java/org/archive/util/fingerprint/ArrayLongFPCache.java +++ b/commons/src/main/java/org/archive/util/fingerprint/ArrayLongFPCache.java @@ -1,27 +1,21 @@ -/* ArrayLongFPCache -* -* $Id$ -* -* Created on Oct 5, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.fingerprint; /** diff --git a/commons/src/main/java/org/archive/util/fingerprint/LongFPSet.java b/commons/src/main/java/org/archive/util/fingerprint/LongFPSet.java index 902b3209..595bc86a 100644 --- a/commons/src/main/java/org/archive/util/fingerprint/LongFPSet.java +++ b/commons/src/main/java/org/archive/util/fingerprint/LongFPSet.java @@ -1,26 +1,20 @@ -/* LongSet +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Oct 19, 2003 + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.util.fingerprint; diff --git a/commons/src/main/java/org/archive/util/fingerprint/LongFPSetCache.java b/commons/src/main/java/org/archive/util/fingerprint/LongFPSetCache.java index 68664cb7..7b9d9e20 100644 --- a/commons/src/main/java/org/archive/util/fingerprint/LongFPSetCache.java +++ b/commons/src/main/java/org/archive/util/fingerprint/LongFPSetCache.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * LongFPSetCache.java - * Created on Oct 21, 2003 - * - * $Header$ + * 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.archive.util.fingerprint; diff --git a/commons/src/main/java/org/archive/util/fingerprint/LongFPSetTestCase.java b/commons/src/main/java/org/archive/util/fingerprint/LongFPSetTestCase.java index 6d12fbb9..bb3fdb76 100644 --- a/commons/src/main/java/org/archive/util/fingerprint/LongFPSetTestCase.java +++ b/commons/src/main/java/org/archive/util/fingerprint/LongFPSetTestCase.java @@ -1,26 +1,20 @@ -/* LongFPSetTestCase +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Wed Jan 21 09:00:29 CET 2004 + * The IA 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 * - * Copyright (C) 2004 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.util.fingerprint; diff --git a/commons/src/main/java/org/archive/util/fingerprint/MemLongFPSet.java b/commons/src/main/java/org/archive/util/fingerprint/MemLongFPSet.java index 681dfc7c..35aa4bc4 100644 --- a/commons/src/main/java/org/archive/util/fingerprint/MemLongFPSet.java +++ b/commons/src/main/java/org/archive/util/fingerprint/MemLongFPSet.java @@ -1,26 +1,20 @@ -/* MemLongSet +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Oct 19, 2003 + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.util.fingerprint; diff --git a/commons/src/main/java/org/archive/util/iterator/LineReadingIterator.java b/commons/src/main/java/org/archive/util/iterator/LineReadingIterator.java index ff1fcc46..41c634bb 100644 --- a/commons/src/main/java/org/archive/util/iterator/LineReadingIterator.java +++ b/commons/src/main/java/org/archive/util/iterator/LineReadingIterator.java @@ -1,27 +1,21 @@ -/* LineReadingIterator -* -* $Id$ -* -* Created on Jul 27, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.iterator; import java.io.BufferedReader; diff --git a/commons/src/main/java/org/archive/util/iterator/LookaheadIterator.java b/commons/src/main/java/org/archive/util/iterator/LookaheadIterator.java index 60b79f13..26ec768f 100644 --- a/commons/src/main/java/org/archive/util/iterator/LookaheadIterator.java +++ b/commons/src/main/java/org/archive/util/iterator/LookaheadIterator.java @@ -1,27 +1,21 @@ -/* TransformingIteratorWrapper -* -* $Id$ -* -* Created on Mar 25, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.iterator; import java.util.Iterator; diff --git a/commons/src/main/java/org/archive/util/iterator/TransformingIteratorWrapper.java b/commons/src/main/java/org/archive/util/iterator/TransformingIteratorWrapper.java index fdfef41c..1b8bcab5 100644 --- a/commons/src/main/java/org/archive/util/iterator/TransformingIteratorWrapper.java +++ b/commons/src/main/java/org/archive/util/iterator/TransformingIteratorWrapper.java @@ -1,27 +1,21 @@ -/* TransformingIteratorWrapper -* -* $Id$ -* -* Created on Mar 25, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.iterator; import java.util.Iterator; diff --git a/commons/src/main/java/org/archive/util/ms/BlockFileSystem.java b/commons/src/main/java/org/archive/util/ms/BlockFileSystem.java index 3aaec485..330270ec 100644 --- a/commons/src/main/java/org/archive/util/ms/BlockFileSystem.java +++ b/commons/src/main/java/org/archive/util/ms/BlockFileSystem.java @@ -1,25 +1,21 @@ -/* BlockFileSystem -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; import java.io.IOException; diff --git a/commons/src/main/java/org/archive/util/ms/BlockInputStream.java b/commons/src/main/java/org/archive/util/ms/BlockInputStream.java index 80a2ec04..b827655f 100644 --- a/commons/src/main/java/org/archive/util/ms/BlockInputStream.java +++ b/commons/src/main/java/org/archive/util/ms/BlockInputStream.java @@ -1,25 +1,21 @@ -/* BlockInputStream -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; import java.io.IOException; diff --git a/commons/src/main/java/org/archive/util/ms/Cp1252.java b/commons/src/main/java/org/archive/util/ms/Cp1252.java index 3702b4b4..8be4dce3 100644 --- a/commons/src/main/java/org/archive/util/ms/Cp1252.java +++ b/commons/src/main/java/org/archive/util/ms/Cp1252.java @@ -1,25 +1,21 @@ -/* Cp1252 -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; diff --git a/commons/src/main/java/org/archive/util/ms/DefaultBlockFileSystem.java b/commons/src/main/java/org/archive/util/ms/DefaultBlockFileSystem.java index 69dc1136..b570bd26 100644 --- a/commons/src/main/java/org/archive/util/ms/DefaultBlockFileSystem.java +++ b/commons/src/main/java/org/archive/util/ms/DefaultBlockFileSystem.java @@ -1,25 +1,21 @@ -/* DefaultBlockFileSystem -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; import java.io.IOException; diff --git a/commons/src/main/java/org/archive/util/ms/DefaultEntry.java b/commons/src/main/java/org/archive/util/ms/DefaultEntry.java index a78ad328..9f664b8e 100644 --- a/commons/src/main/java/org/archive/util/ms/DefaultEntry.java +++ b/commons/src/main/java/org/archive/util/ms/DefaultEntry.java @@ -1,25 +1,21 @@ -/* DefaultEntry -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; import java.io.IOException; diff --git a/commons/src/main/java/org/archive/util/ms/Doc.java b/commons/src/main/java/org/archive/util/ms/Doc.java index 203f1cd7..9bef490b 100644 --- a/commons/src/main/java/org/archive/util/ms/Doc.java +++ b/commons/src/main/java/org/archive/util/ms/Doc.java @@ -1,25 +1,21 @@ -/* Doc -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; diff --git a/commons/src/main/java/org/archive/util/ms/Entry.java b/commons/src/main/java/org/archive/util/ms/Entry.java index 27e854b0..fe007faa 100644 --- a/commons/src/main/java/org/archive/util/ms/Entry.java +++ b/commons/src/main/java/org/archive/util/ms/Entry.java @@ -1,25 +1,21 @@ -/* Entry -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; import java.io.IOException; diff --git a/commons/src/main/java/org/archive/util/ms/HeaderBlock.java b/commons/src/main/java/org/archive/util/ms/HeaderBlock.java index c5d4ba6c..a2b0566d 100644 --- a/commons/src/main/java/org/archive/util/ms/HeaderBlock.java +++ b/commons/src/main/java/org/archive/util/ms/HeaderBlock.java @@ -1,25 +1,21 @@ -/* HeaderBlock -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; diff --git a/commons/src/main/java/org/archive/util/ms/Piece.java b/commons/src/main/java/org/archive/util/ms/Piece.java index edc35c8b..b6f01694 100644 --- a/commons/src/main/java/org/archive/util/ms/Piece.java +++ b/commons/src/main/java/org/archive/util/ms/Piece.java @@ -1,25 +1,21 @@ -/* Piece -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; public class Piece { diff --git a/commons/src/main/java/org/archive/util/ms/PieceReader.java b/commons/src/main/java/org/archive/util/ms/PieceReader.java index e747aad8..5383cbad 100644 --- a/commons/src/main/java/org/archive/util/ms/PieceReader.java +++ b/commons/src/main/java/org/archive/util/ms/PieceReader.java @@ -1,25 +1,21 @@ -/* PieceReader -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; import java.io.IOException; diff --git a/commons/src/main/java/org/archive/util/ms/PieceTable.java b/commons/src/main/java/org/archive/util/ms/PieceTable.java index 398d7912..7a95c4f6 100644 --- a/commons/src/main/java/org/archive/util/ms/PieceTable.java +++ b/commons/src/main/java/org/archive/util/ms/PieceTable.java @@ -1,25 +1,21 @@ -/* PieceTable -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; import java.io.IOException; diff --git a/commons/src/test/java/org/archive/io/BufferedSeekInputStreamTest.java b/commons/src/test/java/org/archive/io/BufferedSeekInputStreamTest.java index 1b16332c..270e45e0 100644 --- a/commons/src/test/java/org/archive/io/BufferedSeekInputStreamTest.java +++ b/commons/src/test/java/org/archive/io/BufferedSeekInputStreamTest.java @@ -1,25 +1,21 @@ -/* BufferedSeekInputStreamTest -* -* Created on September 18, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.io; import java.util.Random; diff --git a/commons/src/test/java/org/archive/io/RecordingInputStreamTest.java b/commons/src/test/java/org/archive/io/RecordingInputStreamTest.java index c5529847..20a8b8b3 100644 --- a/commons/src/test/java/org/archive/io/RecordingInputStreamTest.java +++ b/commons/src/test/java/org/archive/io/RecordingInputStreamTest.java @@ -1,26 +1,20 @@ -/* RecordingInputStreamTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Aug 1, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/test/java/org/archive/io/RecordingOutputStreamTest.java b/commons/src/test/java/org/archive/io/RecordingOutputStreamTest.java index 615688f9..1c53549b 100644 --- a/commons/src/test/java/org/archive/io/RecordingOutputStreamTest.java +++ b/commons/src/test/java/org/archive/io/RecordingOutputStreamTest.java @@ -1,26 +1,20 @@ -/* RecordingOutputStreamTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Jan 21, 2004 + * The IA 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 * - * Copyright (C) 2004 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/test/java/org/archive/io/RepositionableInputStreamTest.java b/commons/src/test/java/org/archive/io/RepositionableInputStreamTest.java index ad76ee4b..1c7cc74c 100644 --- a/commons/src/test/java/org/archive/io/RepositionableInputStreamTest.java +++ b/commons/src/test/java/org/archive/io/RepositionableInputStreamTest.java @@ -1,26 +1,20 @@ -/* RepositionableInputStreamTest.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Dec 20, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/test/java/org/archive/io/SinkHandlerTest.java b/commons/src/test/java/org/archive/io/SinkHandlerTest.java index 9e993f69..bc92c936 100644 --- a/commons/src/test/java/org/archive/io/SinkHandlerTest.java +++ b/commons/src/test/java/org/archive/io/SinkHandlerTest.java @@ -1,26 +1,20 @@ -/* SinkHandlerTest.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Aug 9, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.io; diff --git a/commons/src/test/java/org/archive/net/UURITest.java b/commons/src/test/java/org/archive/net/UURITest.java index 22ac951a..887d2da6 100644 --- a/commons/src/test/java/org/archive/net/UURITest.java +++ b/commons/src/test/java/org/archive/net/UURITest.java @@ -1,26 +1,20 @@ -/* UURITest.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Jul 18, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.net; diff --git a/commons/src/test/java/org/archive/surt/SURTTokenizerTest.java b/commons/src/test/java/org/archive/surt/SURTTokenizerTest.java index 62a90f96..1612ed5f 100644 --- a/commons/src/test/java/org/archive/surt/SURTTokenizerTest.java +++ b/commons/src/test/java/org/archive/surt/SURTTokenizerTest.java @@ -1,26 +1,20 @@ -/* SURTTokenizerTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on 3:40:18 PM May 11, 2006. + * The IA 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 * - * Copyright (C) 2006 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of wayback. - * - * wayback is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * wayback is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with wayback; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.surt; diff --git a/commons/src/test/java/org/archive/uid/UUIDGeneratorTest.java b/commons/src/test/java/org/archive/uid/UUIDGeneratorTest.java index 282f75b3..478c3e4d 100644 --- a/commons/src/test/java/org/archive/uid/UUIDGeneratorTest.java +++ b/commons/src/test/java/org/archive/uid/UUIDGeneratorTest.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on July 27th, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.uid; diff --git a/commons/src/test/java/org/archive/util/IoUtilsTest.java b/commons/src/test/java/org/archive/util/IoUtilsTest.java index 376a1d15..fd3ffc51 100644 --- a/commons/src/test/java/org/archive/util/IoUtilsTest.java +++ b/commons/src/test/java/org/archive/util/IoUtilsTest.java @@ -1,24 +1,20 @@ -/* IoUtilsTest - * - * Created on Dec 8, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; diff --git a/commons/src/test/java/org/archive/util/MimetypeUtilsTest.java b/commons/src/test/java/org/archive/util/MimetypeUtilsTest.java index bbb4d348..564b7762 100644 --- a/commons/src/test/java/org/archive/util/MimetypeUtilsTest.java +++ b/commons/src/test/java/org/archive/util/MimetypeUtilsTest.java @@ -1,26 +1,20 @@ -/* MimetypeUtilsTest - * - * $Id$ - * - * Created on Sep 22, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; diff --git a/commons/src/test/java/org/archive/util/ObjectIdentityBdbCacheTest.java b/commons/src/test/java/org/archive/util/ObjectIdentityBdbCacheTest.java index 5a2fb9db..9a2c4bd7 100644 --- a/commons/src/test/java/org/archive/util/ObjectIdentityBdbCacheTest.java +++ b/commons/src/test/java/org/archive/util/ObjectIdentityBdbCacheTest.java @@ -1,23 +1,21 @@ -/* ObjectIdentityBdbCacheTest - * - * Copyright (C) 2009 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util; import java.io.File; diff --git a/commons/src/test/java/org/archive/util/PaddingStringBufferTest.java b/commons/src/test/java/org/archive/util/PaddingStringBufferTest.java index e10023da..5dba900b 100644 --- a/commons/src/test/java/org/archive/util/PaddingStringBufferTest.java +++ b/commons/src/test/java/org/archive/util/PaddingStringBufferTest.java @@ -1,28 +1,21 @@ -/* PaddingStringBufferTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Tue Jan 20 14:17:59 PST 2004 + * The IA 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 * - * Copyright (C) 2004 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.util; import junit.framework.Test; diff --git a/commons/src/test/java/org/archive/util/SURTTest.java b/commons/src/test/java/org/archive/util/SURTTest.java index 3a3c31f3..9bb249a4 100644 --- a/commons/src/test/java/org/archive/util/SURTTest.java +++ b/commons/src/test/java/org/archive/util/SURTTest.java @@ -1,28 +1,21 @@ -/* SURTTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Tue Jan 20 14:17:59 PST 2004 + * The IA 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 * - * Copyright (C) 2004 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.util; import org.apache.commons.httpclient.URIException; diff --git a/commons/src/test/java/org/archive/util/TextUtilsTest.java b/commons/src/test/java/org/archive/util/TextUtilsTest.java index e762091b..5e2470cd 100644 --- a/commons/src/test/java/org/archive/util/TextUtilsTest.java +++ b/commons/src/test/java/org/archive/util/TextUtilsTest.java @@ -1,28 +1,21 @@ -/* TextUtilsTest.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Tue Jan 20 14:17:59 PST 2004 + * The IA 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 * - * Copyright (C) 2004 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.util; import java.util.regex.Matcher; diff --git a/commons/src/test/java/org/archive/util/fingerprint/ArrayLongFPCacheTest.java b/commons/src/test/java/org/archive/util/fingerprint/ArrayLongFPCacheTest.java index 761fd710..aa247b72 100644 --- a/commons/src/test/java/org/archive/util/fingerprint/ArrayLongFPCacheTest.java +++ b/commons/src/test/java/org/archive/util/fingerprint/ArrayLongFPCacheTest.java @@ -1,27 +1,21 @@ -/* ArrayLongFPCacheTest -* -* $Id$ -* -* Created on Oct 5, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.fingerprint; import junit.framework.TestCase; diff --git a/commons/src/test/java/org/archive/util/fingerprint/LongFPSetCacheTest.java b/commons/src/test/java/org/archive/util/fingerprint/LongFPSetCacheTest.java index 5a9531cc..b952b00f 100644 --- a/commons/src/test/java/org/archive/util/fingerprint/LongFPSetCacheTest.java +++ b/commons/src/test/java/org/archive/util/fingerprint/LongFPSetCacheTest.java @@ -1,28 +1,21 @@ -/* LongFPSetCacheTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Wed Jan 21 09:00:29 CET 2004 + * The IA 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 * - * Copyright (C) 2004 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.util.fingerprint; import junit.framework.Test; diff --git a/commons/src/test/java/org/archive/util/fingerprint/MemLongFPSetTest.java b/commons/src/test/java/org/archive/util/fingerprint/MemLongFPSetTest.java index ea64cb2d..215055bd 100644 --- a/commons/src/test/java/org/archive/util/fingerprint/MemLongFPSetTest.java +++ b/commons/src/test/java/org/archive/util/fingerprint/MemLongFPSetTest.java @@ -1,30 +1,21 @@ -/* MemLongFPSetTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Wed Jan 21 09:00:29 CET 2004 + * The IA 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 * - * Copyright (C) 2004 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * File: MemLongFPSetTest.java + * 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.archive.util.fingerprint; diff --git a/commons/src/test/java/org/archive/util/ms/DocTest.java b/commons/src/test/java/org/archive/util/ms/DocTest.java index 3ca26714..a73ffa56 100644 --- a/commons/src/test/java/org/archive/util/ms/DocTest.java +++ b/commons/src/test/java/org/archive/util/ms/DocTest.java @@ -1,26 +1,22 @@ -/* DocTest -* -* Created on September 12, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; import java.io.Closeable; diff --git a/commons/src/test/java/org/archive/util/ms/PieceReaderTest.java b/commons/src/test/java/org/archive/util/ms/PieceReaderTest.java index 6b160749..c959743d 100644 --- a/commons/src/test/java/org/archive/util/ms/PieceReaderTest.java +++ b/commons/src/test/java/org/archive/util/ms/PieceReaderTest.java @@ -1,25 +1,21 @@ -/* PieceReaderTest -* -* Created on September 18, 2006 -* -* Copyright (C) 2006 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.util.ms; diff --git a/engine/src/main/java/org/archive/crawler/datamodel/UriUniqFilter.java b/engine/src/main/java/org/archive/crawler/datamodel/UriUniqFilter.java index 341c53a9..b18a21fe 100644 --- a/engine/src/main/java/org/archive/crawler/datamodel/UriUniqFilter.java +++ b/engine/src/main/java/org/archive/crawler/datamodel/UriUniqFilter.java @@ -1,24 +1,20 @@ -/* UriUniqFilter - * - * Created on Apr 17, 2003 - * - * Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.datamodel; diff --git a/engine/src/main/java/org/archive/crawler/framework/Checkpointer.java b/engine/src/main/java/org/archive/crawler/framework/Checkpointer.java index 287585a5..594a2cdb 100644 --- a/engine/src/main/java/org/archive/crawler/framework/Checkpointer.java +++ b/engine/src/main/java/org/archive/crawler/framework/Checkpointer.java @@ -1,27 +1,21 @@ -/* Checkpointer -* -* $Id$ -* -* Created on Apr 19, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.framework; import java.io.File; diff --git a/engine/src/main/java/org/archive/crawler/framework/Frontier.java b/engine/src/main/java/org/archive/crawler/framework/Frontier.java index c4268f8c..814b3474 100644 --- a/engine/src/main/java/org/archive/crawler/framework/Frontier.java +++ b/engine/src/main/java/org/archive/crawler/framework/Frontier.java @@ -1,26 +1,20 @@ -/* Frontier +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Mar 29, 2004 + * The IA 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 * - * Copyright (C) 2004 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.framework; diff --git a/engine/src/main/java/org/archive/crawler/frontier/AntiCalendarCostAssignmentPolicy.java b/engine/src/main/java/org/archive/crawler/frontier/AntiCalendarCostAssignmentPolicy.java index 1dc94b72..1d455f98 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/AntiCalendarCostAssignmentPolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/AntiCalendarCostAssignmentPolicy.java @@ -1,27 +1,21 @@ -/* AntiCalendarCostAssignmentPolicy -* -* $Id$ -* -* Created on Dec 15, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier; import java.util.regex.Matcher; diff --git a/engine/src/main/java/org/archive/crawler/frontier/BdbMultipleWorkQueues.java b/engine/src/main/java/org/archive/crawler/frontier/BdbMultipleWorkQueues.java index 4fceb954..4a7ca64b 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/BdbMultipleWorkQueues.java +++ b/engine/src/main/java/org/archive/crawler/frontier/BdbMultipleWorkQueues.java @@ -1,24 +1,20 @@ -/* BdbMultipleWorkQueues - * - * Created on Dec 24, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier; diff --git a/engine/src/main/java/org/archive/crawler/frontier/BdbWorkQueue.java b/engine/src/main/java/org/archive/crawler/frontier/BdbWorkQueue.java index a36b4b78..13a28d63 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/BdbWorkQueue.java +++ b/engine/src/main/java/org/archive/crawler/frontier/BdbWorkQueue.java @@ -1,24 +1,20 @@ -/* BdbWorkQueue - * - * Created on Dec 24, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier; diff --git a/engine/src/main/java/org/archive/crawler/frontier/CostAssignmentPolicy.java b/engine/src/main/java/org/archive/crawler/frontier/CostAssignmentPolicy.java index 174cd1ef..a5f6bc8f 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/CostAssignmentPolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/CostAssignmentPolicy.java @@ -1,27 +1,21 @@ -/* CostAssignmentPolicy -* -* $Id$ -* -* Created on Dec 8, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier; import java.io.Serializable; diff --git a/engine/src/main/java/org/archive/crawler/frontier/IPQueueAssignmentPolicy.java b/engine/src/main/java/org/archive/crawler/frontier/IPQueueAssignmentPolicy.java index 6cf121d8..878afef5 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/IPQueueAssignmentPolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/IPQueueAssignmentPolicy.java @@ -1,27 +1,21 @@ -/* IPQueueAssignmentPolicy -* -* $Id$ -* -* Created on Oct 5, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier; import org.archive.modules.CrawlURI; diff --git a/engine/src/main/java/org/archive/crawler/frontier/RecyclingSerialBinding.java b/engine/src/main/java/org/archive/crawler/frontier/RecyclingSerialBinding.java index d1371b0a..69a5433a 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/RecyclingSerialBinding.java +++ b/engine/src/main/java/org/archive/crawler/frontier/RecyclingSerialBinding.java @@ -1,27 +1,21 @@ -/* RecyclingSerialBinding -* -* $Id$ -* -* Created on May 25, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier; import java.io.IOException; diff --git a/engine/src/main/java/org/archive/crawler/frontier/UnitCostAssignmentPolicy.java b/engine/src/main/java/org/archive/crawler/frontier/UnitCostAssignmentPolicy.java index e0817063..f4d5ad7f 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/UnitCostAssignmentPolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/UnitCostAssignmentPolicy.java @@ -1,27 +1,21 @@ -/* UnitCostAssignmentPolicy -* -* $Id$ -* -* Created on Dec 8, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier; import org.archive.modules.CrawlURI; diff --git a/engine/src/main/java/org/archive/crawler/frontier/WagCostAssignmentPolicy.java b/engine/src/main/java/org/archive/crawler/frontier/WagCostAssignmentPolicy.java index dfd19c74..7b117e03 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/WagCostAssignmentPolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/WagCostAssignmentPolicy.java @@ -1,27 +1,21 @@ -/* WagCostAssignmentPolicy -* -* $Id$ -* -* Created on Dec 10, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier; import org.archive.modules.CrawlURI; diff --git a/engine/src/main/java/org/archive/crawler/frontier/precedence/BaseQueuePrecedencePolicy.java b/engine/src/main/java/org/archive/crawler/frontier/precedence/BaseQueuePrecedencePolicy.java index b3f124c7..b8014af7 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/precedence/BaseQueuePrecedencePolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/precedence/BaseQueuePrecedencePolicy.java @@ -1,27 +1,21 @@ -/* BaseQueuePrecedencePolicy -* -* $Id: CostAssignmentPolicy.java 4981 2007-03-12 07:06:01Z paul_jack $ -* -* Created on Nov 17, 2007 -* -* Copyright (C) 2007 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier.precedence; import org.archive.crawler.frontier.WorkQueue; diff --git a/engine/src/main/java/org/archive/crawler/frontier/precedence/CostUriPrecedencePolicy.java b/engine/src/main/java/org/archive/crawler/frontier/precedence/CostUriPrecedencePolicy.java index bace401c..f6caecaa 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/precedence/CostUriPrecedencePolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/precedence/CostUriPrecedencePolicy.java @@ -1,27 +1,21 @@ -/* CostUriPrecedencePolicy -* -* $Id: CostAssignmentPolicy.java 4981 2007-03-12 07:06:01Z paul_jack $ -* -* Created on Nov 20, 2007 -* -* Copyright (C) 2007 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier.precedence; import org.archive.modules.CrawlURI; diff --git a/engine/src/main/java/org/archive/crawler/frontier/precedence/HighestUriQueuePrecedencePolicy.java b/engine/src/main/java/org/archive/crawler/frontier/precedence/HighestUriQueuePrecedencePolicy.java index 72ceb01f..b905a9d4 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/precedence/HighestUriQueuePrecedencePolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/precedence/HighestUriQueuePrecedencePolicy.java @@ -1,27 +1,21 @@ -/* HighestUriQueuePrecedencePolicy -* -* $Id: CostAssignmentPolicy.java 4981 2007-03-12 07:06:01Z paul_jack $ -* -* Created on Nov 17, 2007 -* -* Copyright (C) 2007 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier.precedence; import java.io.PrintWriter; diff --git a/engine/src/main/java/org/archive/crawler/frontier/precedence/HopsUriPrecedencePolicy.java b/engine/src/main/java/org/archive/crawler/frontier/precedence/HopsUriPrecedencePolicy.java index 1415029d..3c293b58 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/precedence/HopsUriPrecedencePolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/precedence/HopsUriPrecedencePolicy.java @@ -1,27 +1,21 @@ -/* HopsUriPrecedencePolicy -* -* $Id: CostAssignmentPolicy.java 4981 2007-03-12 07:06:01Z paul_jack $ -* -* Created on Nov 21, 2007 -* -* Copyright (C) 2007 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier.precedence; import org.archive.modules.CrawlURI; diff --git a/engine/src/main/java/org/archive/crawler/frontier/precedence/PrecedenceProvider.java b/engine/src/main/java/org/archive/crawler/frontier/precedence/PrecedenceProvider.java index a931aa8c..506e6693 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/precedence/PrecedenceProvider.java +++ b/engine/src/main/java/org/archive/crawler/frontier/precedence/PrecedenceProvider.java @@ -1,27 +1,21 @@ -/* PrecedenceProvider -* -* $Id: CostAssignmentPolicy.java 4981 2007-03-12 07:06:01Z paul_jack $ -* -* Created on Nov 20, 2007 -* -* Copyright (C) 2007 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier.precedence; import java.io.PrintWriter; diff --git a/engine/src/main/java/org/archive/crawler/frontier/precedence/PreloadedUriPrecedencePolicy.java b/engine/src/main/java/org/archive/crawler/frontier/precedence/PreloadedUriPrecedencePolicy.java index 6d403b17..ac47e06a 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/precedence/PreloadedUriPrecedencePolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/precedence/PreloadedUriPrecedencePolicy.java @@ -1,27 +1,21 @@ -/* PreloadedUriPrecedencePolicy -* -* $Id: CostAssignmentPolicy.java 4981 2007-03-12 07:06:01Z paul_jack $ -* -* Created on Nov 27, 2007 -* -* Copyright (C) 2007 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier.precedence; import static org.archive.modules.CoreAttributeConstants.A_PRECALC_PRECEDENCE; diff --git a/engine/src/main/java/org/archive/crawler/frontier/precedence/QueuePrecedencePolicy.java b/engine/src/main/java/org/archive/crawler/frontier/precedence/QueuePrecedencePolicy.java index 76282abb..4b0e8bb1 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/precedence/QueuePrecedencePolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/precedence/QueuePrecedencePolicy.java @@ -1,27 +1,21 @@ -/* QueuePrecedencePolicy -* -* $Id: CostAssignmentPolicy.java 4981 2007-03-12 07:06:01Z paul_jack $ -* -* Created on Nov 17, 2007 -* -* Copyright (C) 2007 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier.precedence; import java.io.Serializable; diff --git a/engine/src/main/java/org/archive/crawler/frontier/precedence/SimplePrecedenceProvider.java b/engine/src/main/java/org/archive/crawler/frontier/precedence/SimplePrecedenceProvider.java index 0969a69a..902e9bec 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/precedence/SimplePrecedenceProvider.java +++ b/engine/src/main/java/org/archive/crawler/frontier/precedence/SimplePrecedenceProvider.java @@ -1,27 +1,21 @@ -/* SimplePrecedenceProvider -* -* $Id: CostAssignmentPolicy.java 4981 2007-03-12 07:06:01Z paul_jack $ -* -* Created on Nov 20, 2007 -* -* Copyright (C) 2007 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier.precedence; /** diff --git a/engine/src/main/java/org/archive/crawler/frontier/precedence/SuccessCountsQueuePrecedencePolicy.java b/engine/src/main/java/org/archive/crawler/frontier/precedence/SuccessCountsQueuePrecedencePolicy.java index faa26f2f..fd10e23b 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/precedence/SuccessCountsQueuePrecedencePolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/precedence/SuccessCountsQueuePrecedencePolicy.java @@ -1,27 +1,21 @@ -/* SuccessCountsQueuePrecedencePolicy -* -* $Id: CostAssignmentPolicy.java 4981 2007-03-12 07:06:01Z paul_jack $ -* -* Created on Nov 17, 2007 -* -* Copyright (C) 2007 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier.precedence; import java.util.Arrays; diff --git a/engine/src/main/java/org/archive/crawler/frontier/precedence/UriPrecedencePolicy.java b/engine/src/main/java/org/archive/crawler/frontier/precedence/UriPrecedencePolicy.java index 791d1b4e..ac70adf8 100644 --- a/engine/src/main/java/org/archive/crawler/frontier/precedence/UriPrecedencePolicy.java +++ b/engine/src/main/java/org/archive/crawler/frontier/precedence/UriPrecedencePolicy.java @@ -1,27 +1,21 @@ -/* UriPrecedencePolicy.java -* -* $Id: CostAssignmentPolicy.java 4981 2007-03-12 07:06:01Z paul_jack $ -* -* Created on Nov 18, 2007 -* -* Copyright (C) 2007 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier.precedence; import java.io.Serializable; diff --git a/engine/src/main/java/org/archive/crawler/io/NonFatalErrorFormatter.java b/engine/src/main/java/org/archive/crawler/io/NonFatalErrorFormatter.java index f3f0b356..c64448e6 100644 --- a/engine/src/main/java/org/archive/crawler/io/NonFatalErrorFormatter.java +++ b/engine/src/main/java/org/archive/crawler/io/NonFatalErrorFormatter.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * CrawlErrorFormatter.java - * Created on Jul 7, 2003 - * - * $Header$ + * 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.archive.crawler.io; diff --git a/engine/src/main/java/org/archive/crawler/io/RuntimeErrorFormatter.java b/engine/src/main/java/org/archive/crawler/io/RuntimeErrorFormatter.java index bbecd5fa..7b6477c1 100644 --- a/engine/src/main/java/org/archive/crawler/io/RuntimeErrorFormatter.java +++ b/engine/src/main/java/org/archive/crawler/io/RuntimeErrorFormatter.java @@ -1,26 +1,20 @@ -/* RuntimeErrorFormatter - * - * Created on Jul 7, 2003 - * - * $Id$ - * - * Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.io; diff --git a/engine/src/main/java/org/archive/crawler/io/StatisticsLogFormatter.java b/engine/src/main/java/org/archive/crawler/io/StatisticsLogFormatter.java index 139e2776..abec7a40 100644 --- a/engine/src/main/java/org/archive/crawler/io/StatisticsLogFormatter.java +++ b/engine/src/main/java/org/archive/crawler/io/StatisticsLogFormatter.java @@ -1,23 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Created on Jul 22, 2003 + * 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.archive.crawler.io; diff --git a/engine/src/main/java/org/archive/crawler/io/UriErrorFormatter.java b/engine/src/main/java/org/archive/crawler/io/UriErrorFormatter.java index 948ca3a0..b1373576 100644 --- a/engine/src/main/java/org/archive/crawler/io/UriErrorFormatter.java +++ b/engine/src/main/java/org/archive/crawler/io/UriErrorFormatter.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * UriErrorFormatter.java - * Created on Jul 7, 2003 - * - * $Header$ + * 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.archive.crawler.io; diff --git a/engine/src/main/java/org/archive/crawler/io/UriProcessingFormatter.java b/engine/src/main/java/org/archive/crawler/io/UriProcessingFormatter.java index 5361bdb1..3afb1769 100644 --- a/engine/src/main/java/org/archive/crawler/io/UriProcessingFormatter.java +++ b/engine/src/main/java/org/archive/crawler/io/UriProcessingFormatter.java @@ -1,26 +1,20 @@ -/* UriProcessingFormatter.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ - * - * Created on Jun 10, 2003 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2003 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.io; diff --git a/engine/src/main/java/org/archive/crawler/postprocessor/LowDiskPauseProcessor.java b/engine/src/main/java/org/archive/crawler/postprocessor/LowDiskPauseProcessor.java index 1801305f..714b9d78 100644 --- a/engine/src/main/java/org/archive/crawler/postprocessor/LowDiskPauseProcessor.java +++ b/engine/src/main/java/org/archive/crawler/postprocessor/LowDiskPauseProcessor.java @@ -1,27 +1,20 @@ /* - * LowDiskPauseProcessor + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Jun 5, 2003 + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.postprocessor; diff --git a/engine/src/main/java/org/archive/crawler/processor/LexicalCrawlMapper.java b/engine/src/main/java/org/archive/crawler/processor/LexicalCrawlMapper.java index b623b59b..85c1c371 100644 --- a/engine/src/main/java/org/archive/crawler/processor/LexicalCrawlMapper.java +++ b/engine/src/main/java/org/archive/crawler/processor/LexicalCrawlMapper.java @@ -1,24 +1,20 @@ -/* LexicalCrawlMapper - * - * Created on Sep 30, 2005 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2005 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.processor; diff --git a/engine/src/main/java/org/archive/crawler/util/BdbUriUniqFilter.java b/engine/src/main/java/org/archive/crawler/util/BdbUriUniqFilter.java index 65ec3486..bbe648d8 100644 --- a/engine/src/main/java/org/archive/crawler/util/BdbUriUniqFilter.java +++ b/engine/src/main/java/org/archive/crawler/util/BdbUriUniqFilter.java @@ -1,27 +1,21 @@ -/* BdbUriUniqFilter -* -* $Id$ -* -* Created on September 17, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.util; import java.io.File; diff --git a/engine/src/main/java/org/archive/crawler/util/BenchmarkUriUniqFilters.java b/engine/src/main/java/org/archive/crawler/util/BenchmarkUriUniqFilters.java index 86c8ec45..5be5b9e8 100644 --- a/engine/src/main/java/org/archive/crawler/util/BenchmarkUriUniqFilters.java +++ b/engine/src/main/java/org/archive/crawler/util/BenchmarkUriUniqFilters.java @@ -1,26 +1,20 @@ -/* BenchmarkUriUniqFilters +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Jun 22, 2005. + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.util; import java.io.BufferedReader; diff --git a/engine/src/main/java/org/archive/crawler/util/CheckpointUtils.java b/engine/src/main/java/org/archive/crawler/util/CheckpointUtils.java index 2d91ec60..6bff9937 100644 --- a/engine/src/main/java/org/archive/crawler/util/CheckpointUtils.java +++ b/engine/src/main/java/org/archive/crawler/util/CheckpointUtils.java @@ -1,26 +1,20 @@ -/* CheckpointUtils +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on December 16, 2005. + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.util; diff --git a/engine/src/main/java/org/archive/crawler/util/DiskFPMergeUriUniqFilter.java b/engine/src/main/java/org/archive/crawler/util/DiskFPMergeUriUniqFilter.java index cea2d2f1..a44f3ac6 100644 --- a/engine/src/main/java/org/archive/crawler/util/DiskFPMergeUriUniqFilter.java +++ b/engine/src/main/java/org/archive/crawler/util/DiskFPMergeUriUniqFilter.java @@ -1,27 +1,21 @@ -/* DiskFPMergeUriUniqFilter -* -* $Id$ -* -* Created on Dec 14, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.util; import it.unimi.dsi.fastutil.longs.LongIterators; diff --git a/engine/src/main/java/org/archive/crawler/util/FPMergeUriUniqFilter.java b/engine/src/main/java/org/archive/crawler/util/FPMergeUriUniqFilter.java index 3aafb764..fbe18eb8 100644 --- a/engine/src/main/java/org/archive/crawler/util/FPMergeUriUniqFilter.java +++ b/engine/src/main/java/org/archive/crawler/util/FPMergeUriUniqFilter.java @@ -1,27 +1,21 @@ -/* UriUniqFilterImpl -* -* $Id$ -* -* Created on Sep 29, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.util; import it.unimi.dsi.fastutil.longs.LongIterator; diff --git a/engine/src/main/java/org/archive/crawler/util/FPUriUniqFilter.java b/engine/src/main/java/org/archive/crawler/util/FPUriUniqFilter.java index d572f16a..8ca2028c 100644 --- a/engine/src/main/java/org/archive/crawler/util/FPUriUniqFilter.java +++ b/engine/src/main/java/org/archive/crawler/util/FPUriUniqFilter.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * MemFPUURISet.java - * Created on Oct 1, 2003 - * - * $Header$ + * 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.archive.crawler.util; diff --git a/engine/src/main/java/org/archive/crawler/util/LogUtils.java b/engine/src/main/java/org/archive/crawler/util/LogUtils.java index d425a732..cddba0b0 100644 --- a/engine/src/main/java/org/archive/crawler/util/LogUtils.java +++ b/engine/src/main/java/org/archive/crawler/util/LogUtils.java @@ -1,27 +1,20 @@ -/* LogUtils - * - * $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Jun 8, 2005 - * - * Copyright (C) 2003 Internet Archive. + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * The IA 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 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.util; diff --git a/engine/src/main/java/org/archive/crawler/util/Logs.java b/engine/src/main/java/org/archive/crawler/util/Logs.java index fa233392..f7c00df9 100644 --- a/engine/src/main/java/org/archive/crawler/util/Logs.java +++ b/engine/src/main/java/org/archive/crawler/util/Logs.java @@ -1,28 +1,21 @@ -/* - * Copyright (C) 2007 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Logs.java - * - * Created on June 14, 2007 - * - * $Id:$ - */ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.util; diff --git a/engine/src/main/java/org/archive/crawler/util/MemFPMergeUriUniqFilter.java b/engine/src/main/java/org/archive/crawler/util/MemFPMergeUriUniqFilter.java index 50621a05..cc15911d 100644 --- a/engine/src/main/java/org/archive/crawler/util/MemFPMergeUriUniqFilter.java +++ b/engine/src/main/java/org/archive/crawler/util/MemFPMergeUriUniqFilter.java @@ -1,27 +1,21 @@ -/* MemFPMergeUriUniqFilter -* -* $Id$ -* -* Created on Dec 14, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.util; import it.unimi.dsi.fastutil.longs.LongArrayList; diff --git a/engine/src/main/java/org/archive/crawler/util/MemUriUniqFilter.java b/engine/src/main/java/org/archive/crawler/util/MemUriUniqFilter.java index 306fb335..d9c59276 100644 --- a/engine/src/main/java/org/archive/crawler/util/MemUriUniqFilter.java +++ b/engine/src/main/java/org/archive/crawler/util/MemUriUniqFilter.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * MemUURISet.java - * Created on Sep 15, 2003 - * - * $Header$ + * 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.archive.crawler.util; diff --git a/engine/src/main/java/org/archive/crawler/util/NoopUriUniqFilter.java b/engine/src/main/java/org/archive/crawler/util/NoopUriUniqFilter.java index e92d2d6d..ea8ddd43 100644 --- a/engine/src/main/java/org/archive/crawler/util/NoopUriUniqFilter.java +++ b/engine/src/main/java/org/archive/crawler/util/NoopUriUniqFilter.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * MemUURISet.java - * Created on Sep 15, 2003 - * - * $Header$ + * 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.archive.crawler.util; diff --git a/engine/src/main/java/org/archive/crawler/util/SetBasedUriUniqFilter.java b/engine/src/main/java/org/archive/crawler/util/SetBasedUriUniqFilter.java index 6fbfaa3c..99a95da0 100644 --- a/engine/src/main/java/org/archive/crawler/util/SetBasedUriUniqFilter.java +++ b/engine/src/main/java/org/archive/crawler/util/SetBasedUriUniqFilter.java @@ -1,27 +1,21 @@ -/* UriUniqFilterImpl -* -* $Id$ -* -* Created on Sep 29, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.util; import java.io.BufferedOutputStream; diff --git a/engine/src/main/java/org/archive/crawler/util/Sorts.java b/engine/src/main/java/org/archive/crawler/util/Sorts.java deleted file mode 100644 index fada83a8..00000000 --- a/engine/src/main/java/org/archive/crawler/util/Sorts.java +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright (C) 2003 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Created on Jul 21, 2003 - * - * To change the template for this generated file go to - * Window>Preferences>Java>Code Generation>Code and Comments - */ -package org.archive.crawler.util; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; - -public class Sorts { - - // Sorts by value not key - public static StringIntPair[] sortStringIntHashMap (HashMap hm){ - String[] keys = hm.keySet().toArray(new String[hm.size()]); - Integer[] values = hm.values().toArray(new Integer[hm.size()]); - - ArrayList unsortedList = new ArrayList(); - - for (int i = 0; i < keys.length; i++) - unsortedList.add(i, new StringIntPair(keys[i], values[i])); - - StringIntPair[] sortedArray - = unsortedList.toArray(new StringIntPair[unsortedList.size()]); - Arrays.sort(sortedArray, new StringIntPairComparator()); - - return sortedArray; - } - -} diff --git a/engine/src/main/java/org/archive/crawler/util/StringIntPair.java b/engine/src/main/java/org/archive/crawler/util/StringIntPair.java deleted file mode 100644 index ea63accc..00000000 --- a/engine/src/main/java/org/archive/crawler/util/StringIntPair.java +++ /dev/null @@ -1,63 +0,0 @@ -/* Copyright (C) 2003 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Created on Jul 21, 2003 - * - * To change the template for this generated file go to - * Window>Preferences>Java>Code Generation>Code and Comments - */ -package org.archive.crawler.util; - -/** - * @author Administrator - * - * To change the template for this generated type comment go to - * Window>Preferences>Java>Code Generation>Code and Comments - */ -public class StringIntPair { - private String stringValue; - private int intValue; - - public StringIntPair(String s, int i){ - stringValue = s; - intValue = i; - } - - public int getIntValue() { - return intValue; - } - - public String getStringValue() { - return stringValue; - } - - /** - * @param i - */ - public void setIntValue(int i) { - intValue = i; - } - - /** - * @param string - */ - public void setStringValue(String string) { - stringValue = string; - } - -} diff --git a/engine/src/main/java/org/archive/crawler/util/StringIntPairComparator.java b/engine/src/main/java/org/archive/crawler/util/StringIntPairComparator.java deleted file mode 100644 index 95c3ba40..00000000 --- a/engine/src/main/java/org/archive/crawler/util/StringIntPairComparator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (C) 2003 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Created on Jul 21, 2003 - * - * To change the template for this generated file go to - * Window>Preferences>Java>Code Generation>Code and Comments - */ -package org.archive.crawler.util; - -import java.util.Comparator; - -/** - * @author Igor Ranitovic - * - * - * */ -public class StringIntPairComparator implements Comparator { - - public StringIntPairComparator (){ - super(); - } - - public int compare(StringIntPair p1, StringIntPair p2) { - if (p1.getIntValue() < p2.getIntValue()) - return -1; - if (p1.getIntValue() > p2.getIntValue()) - return 1; - - return 0; - } - -} diff --git a/engine/src/main/java/org/archive/extractor/CharSequenceLinkExtractor.java b/engine/src/main/java/org/archive/extractor/CharSequenceLinkExtractor.java index 0f623b9b..8afe98a8 100644 --- a/engine/src/main/java/org/archive/extractor/CharSequenceLinkExtractor.java +++ b/engine/src/main/java/org/archive/extractor/CharSequenceLinkExtractor.java @@ -1,27 +1,21 @@ -/* CharSequenceLinkExtractor -* -* $Id$ -* -* Created on Mar 17, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.extractor; import java.io.InputStream; diff --git a/engine/src/main/java/org/archive/extractor/CharSequenceProvider.java b/engine/src/main/java/org/archive/extractor/CharSequenceProvider.java index f5c94dab..8ef4176c 100644 --- a/engine/src/main/java/org/archive/extractor/CharSequenceProvider.java +++ b/engine/src/main/java/org/archive/extractor/CharSequenceProvider.java @@ -1,27 +1,21 @@ -/* CharSequenceProvider -* -* $Id$ -* -* Created on Mar 17, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.extractor; /** diff --git a/engine/src/main/java/org/archive/extractor/ExtractErrorListener.java b/engine/src/main/java/org/archive/extractor/ExtractErrorListener.java index 6011f6cc..9856e109 100644 --- a/engine/src/main/java/org/archive/extractor/ExtractErrorListener.java +++ b/engine/src/main/java/org/archive/extractor/ExtractErrorListener.java @@ -1,27 +1,21 @@ -/* ExtractErrorListener -* -* $Id$ -* -* Created on Mar 17, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.extractor; import java.io.IOException; diff --git a/engine/src/main/java/org/archive/extractor/LinkExtractor.java b/engine/src/main/java/org/archive/extractor/LinkExtractor.java index 4aa26edc..ea4b90d8 100644 --- a/engine/src/main/java/org/archive/extractor/LinkExtractor.java +++ b/engine/src/main/java/org/archive/extractor/LinkExtractor.java @@ -1,27 +1,21 @@ -/* LinkExtractor -* -* $Id$ -* -* Created on Mar 16, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.extractor; import java.io.InputStream; diff --git a/engine/src/test/java/org/archive/crawler/datamodel/CandidateURITest.java b/engine/src/test/java/org/archive/crawler/datamodel/CandidateURITest.java index d0f6ac42..958f1bb6 100644 --- a/engine/src/test/java/org/archive/crawler/datamodel/CandidateURITest.java +++ b/engine/src/test/java/org/archive/crawler/datamodel/CandidateURITest.java @@ -1,26 +1,20 @@ -/* CandidateURITest.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Jun 23, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.datamodel; diff --git a/engine/src/test/java/org/archive/crawler/datamodel/CrawlURITest.java b/engine/src/test/java/org/archive/crawler/datamodel/CrawlURITest.java index 12af602b..bf91fbd0 100644 --- a/engine/src/test/java/org/archive/crawler/datamodel/CrawlURITest.java +++ b/engine/src/test/java/org/archive/crawler/datamodel/CrawlURITest.java @@ -1,24 +1,20 @@ -/* CrawlURITest - * - * Created on Jul 26, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.datamodel; diff --git a/engine/src/test/java/org/archive/crawler/framework/CrawlerProcessorTestBase.java b/engine/src/test/java/org/archive/crawler/framework/CrawlerProcessorTestBase.java index 32702fe5..1c1f73ea 100644 --- a/engine/src/test/java/org/archive/crawler/framework/CrawlerProcessorTestBase.java +++ b/engine/src/test/java/org/archive/crawler/framework/CrawlerProcessorTestBase.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * CrawlerProcessor.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.crawler.framework; diff --git a/engine/src/test/java/org/archive/crawler/frontier/BdbFrontierTest.java b/engine/src/test/java/org/archive/crawler/frontier/BdbFrontierTest.java index 03175755..5d8ada4a 100644 --- a/engine/src/test/java/org/archive/crawler/frontier/BdbFrontierTest.java +++ b/engine/src/test/java/org/archive/crawler/frontier/BdbFrontierTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * AdaptiveRevisitFrontierTest.java - * - * Created on Feb 5, 2007 - * - * $Id:$ + * 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.archive.crawler.frontier; diff --git a/engine/src/test/java/org/archive/crawler/frontier/BdbMultipleWorkQueuesTest.java b/engine/src/test/java/org/archive/crawler/frontier/BdbMultipleWorkQueuesTest.java index c0144756..259e57f1 100644 --- a/engine/src/test/java/org/archive/crawler/frontier/BdbMultipleWorkQueuesTest.java +++ b/engine/src/test/java/org/archive/crawler/frontier/BdbMultipleWorkQueuesTest.java @@ -1,27 +1,21 @@ -/* BdbMultipleWorkQueuesTest -* -* $Id$ -* -* Created on Jul 21, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier; import java.util.logging.Logger; diff --git a/engine/src/test/java/org/archive/crawler/frontier/BucketQueueAssignmentPolicyTest.java b/engine/src/test/java/org/archive/crawler/frontier/BucketQueueAssignmentPolicyTest.java index 4da0a0ff..00e5941c 100644 --- a/engine/src/test/java/org/archive/crawler/frontier/BucketQueueAssignmentPolicyTest.java +++ b/engine/src/test/java/org/archive/crawler/frontier/BucketQueueAssignmentPolicyTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2008 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * SimpleQueuePrecedencePolicyTest.java - * - * Created on May 5, 2008 - * - * $Id:$ + * 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.archive.crawler.frontier; diff --git a/engine/src/test/java/org/archive/crawler/frontier/FrontierJournalTest.java b/engine/src/test/java/org/archive/crawler/frontier/FrontierJournalTest.java index c58ee8d5..abf5c403 100644 --- a/engine/src/test/java/org/archive/crawler/frontier/FrontierJournalTest.java +++ b/engine/src/test/java/org/archive/crawler/frontier/FrontierJournalTest.java @@ -1,24 +1,20 @@ -/* RecoveryJournalTest - * - * Created on Apr 18, 2005 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2005 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.crawler.frontier; diff --git a/engine/src/test/java/org/archive/crawler/frontier/precedence/BaseQueuePrecedencePolicyTest.java b/engine/src/test/java/org/archive/crawler/frontier/precedence/BaseQueuePrecedencePolicyTest.java index 72ca6afc..47bce798 100644 --- a/engine/src/test/java/org/archive/crawler/frontier/precedence/BaseQueuePrecedencePolicyTest.java +++ b/engine/src/test/java/org/archive/crawler/frontier/precedence/BaseQueuePrecedencePolicyTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * SimpleQueuePrecedencePolicyTest.java - * - * Created on Nov 17, 2007 - * - * $Id:$ + * 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.archive.crawler.frontier.precedence; diff --git a/engine/src/test/java/org/archive/crawler/frontier/precedence/BaseUriPrecedencePolicyTest.java b/engine/src/test/java/org/archive/crawler/frontier/precedence/BaseUriPrecedencePolicyTest.java index a1c0e1c0..282af47c 100644 --- a/engine/src/test/java/org/archive/crawler/frontier/precedence/BaseUriPrecedencePolicyTest.java +++ b/engine/src/test/java/org/archive/crawler/frontier/precedence/BaseUriPrecedencePolicyTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * SimpleQueuePrecedencePolicyTest.java - * - * Created on Nov 17, 2007 - * - * $Id:$ + * 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.archive.crawler.frontier.precedence; diff --git a/engine/src/test/java/org/archive/crawler/frontier/precedence/CostUriPrecedencePolicyTest.java b/engine/src/test/java/org/archive/crawler/frontier/precedence/CostUriPrecedencePolicyTest.java index 97e834f5..60fe689f 100644 --- a/engine/src/test/java/org/archive/crawler/frontier/precedence/CostUriPrecedencePolicyTest.java +++ b/engine/src/test/java/org/archive/crawler/frontier/precedence/CostUriPrecedencePolicyTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * SimpleQueuePrecedencePolicyTest.java - * - * Created on Nov 17, 2007 - * - * $Id:$ + * 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.archive.crawler.frontier.precedence; diff --git a/engine/src/test/java/org/archive/crawler/frontier/precedence/HighestUriQueuePrecedencePolicyTest.java b/engine/src/test/java/org/archive/crawler/frontier/precedence/HighestUriQueuePrecedencePolicyTest.java index f0c823bf..9e48c2cb 100644 --- a/engine/src/test/java/org/archive/crawler/frontier/precedence/HighestUriQueuePrecedencePolicyTest.java +++ b/engine/src/test/java/org/archive/crawler/frontier/precedence/HighestUriQueuePrecedencePolicyTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * SuccessCountsQueuePrecedencePolicyTest.java - * - * Created on Nov 17, 2007 - * - * $Id:$ + * 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.archive.crawler.frontier.precedence; diff --git a/engine/src/test/java/org/archive/crawler/frontier/precedence/HopsUriPrecedencePolicyTest.java b/engine/src/test/java/org/archive/crawler/frontier/precedence/HopsUriPrecedencePolicyTest.java index 91d7f91f..a3073f2e 100644 --- a/engine/src/test/java/org/archive/crawler/frontier/precedence/HopsUriPrecedencePolicyTest.java +++ b/engine/src/test/java/org/archive/crawler/frontier/precedence/HopsUriPrecedencePolicyTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * SimpleQueuePrecedencePolicyTest.java - * - * Created on Nov 17, 2007 - * - * $Id:$ + * 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.archive.crawler.frontier.precedence; diff --git a/engine/src/test/java/org/archive/crawler/frontier/precedence/SuccessCountsQueuePrecedencePolicyTest.java b/engine/src/test/java/org/archive/crawler/frontier/precedence/SuccessCountsQueuePrecedencePolicyTest.java index a9bef3ef..a2ae6a53 100644 --- a/engine/src/test/java/org/archive/crawler/frontier/precedence/SuccessCountsQueuePrecedencePolicyTest.java +++ b/engine/src/test/java/org/archive/crawler/frontier/precedence/SuccessCountsQueuePrecedencePolicyTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * SuccessCountsQueuePrecedencePolicyTest.java - * - * Created on Nov 17, 2007 - * - * $Id:$ + * 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.archive.crawler.frontier.precedence; diff --git a/engine/src/test/java/org/archive/crawler/postprocessor/LinksScoperTest.java b/engine/src/test/java/org/archive/crawler/postprocessor/LinksScoperTest.java index a7165f49..e48de3cc 100644 --- a/engine/src/test/java/org/archive/crawler/postprocessor/LinksScoperTest.java +++ b/engine/src/test/java/org/archive/crawler/postprocessor/LinksScoperTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * LinksScoper.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.crawler.postprocessor; diff --git a/engine/src/test/java/org/archive/crawler/postprocessor/LowDiskPauseProcessorTest.java b/engine/src/test/java/org/archive/crawler/postprocessor/LowDiskPauseProcessorTest.java index 3b03696b..67186064 100644 --- a/engine/src/test/java/org/archive/crawler/postprocessor/LowDiskPauseProcessorTest.java +++ b/engine/src/test/java/org/archive/crawler/postprocessor/LowDiskPauseProcessorTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * LowDiskPauseProcessor.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.crawler.postprocessor; diff --git a/engine/src/test/java/org/archive/crawler/postprocessor/SupplementaryLinksScoperTest.java b/engine/src/test/java/org/archive/crawler/postprocessor/SupplementaryLinksScoperTest.java index c10e455b..c020fa15 100644 --- a/engine/src/test/java/org/archive/crawler/postprocessor/SupplementaryLinksScoperTest.java +++ b/engine/src/test/java/org/archive/crawler/postprocessor/SupplementaryLinksScoperTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * SupplementaryLinksScoper.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.crawler.postprocessor; diff --git a/engine/src/test/java/org/archive/crawler/prefetch/PreconditionEnforcerTest.java b/engine/src/test/java/org/archive/crawler/prefetch/PreconditionEnforcerTest.java index 2e7e2804..3b500a27 100644 --- a/engine/src/test/java/org/archive/crawler/prefetch/PreconditionEnforcerTest.java +++ b/engine/src/test/java/org/archive/crawler/prefetch/PreconditionEnforcerTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * PreconditionEnforcer.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.crawler.prefetch; diff --git a/engine/src/test/java/org/archive/crawler/prefetch/PreselectorTest.java b/engine/src/test/java/org/archive/crawler/prefetch/PreselectorTest.java index ea3ed2ef..a0691bde 100644 --- a/engine/src/test/java/org/archive/crawler/prefetch/PreselectorTest.java +++ b/engine/src/test/java/org/archive/crawler/prefetch/PreselectorTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Preselector.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.crawler.prefetch; diff --git a/engine/src/test/java/org/archive/crawler/prefetch/QuotaEnforcerTest.java b/engine/src/test/java/org/archive/crawler/prefetch/QuotaEnforcerTest.java index cb01398e..0dcf72fd 100644 --- a/engine/src/test/java/org/archive/crawler/prefetch/QuotaEnforcerTest.java +++ b/engine/src/test/java/org/archive/crawler/prefetch/QuotaEnforcerTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * QuotaEnforcer.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.crawler.prefetch; diff --git a/engine/src/test/java/org/archive/crawler/prefetch/RuntimeLimitEnforcerTest.java b/engine/src/test/java/org/archive/crawler/prefetch/RuntimeLimitEnforcerTest.java index c7a26e72..d1688a0b 100644 --- a/engine/src/test/java/org/archive/crawler/prefetch/RuntimeLimitEnforcerTest.java +++ b/engine/src/test/java/org/archive/crawler/prefetch/RuntimeLimitEnforcerTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RuntimeLimitEnforcer.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.crawler.prefetch; diff --git a/engine/src/test/java/org/archive/crawler/processor/HashCrawlMapperTest.java b/engine/src/test/java/org/archive/crawler/processor/HashCrawlMapperTest.java index c8155f1f..afce371c 100644 --- a/engine/src/test/java/org/archive/crawler/processor/HashCrawlMapperTest.java +++ b/engine/src/test/java/org/archive/crawler/processor/HashCrawlMapperTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * HashCrawlMapper.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.crawler.processor; diff --git a/engine/src/test/java/org/archive/crawler/processor/LexicalCrawlMapperTest.java b/engine/src/test/java/org/archive/crawler/processor/LexicalCrawlMapperTest.java index 6b22ce04..5eeb2d6e 100644 --- a/engine/src/test/java/org/archive/crawler/processor/LexicalCrawlMapperTest.java +++ b/engine/src/test/java/org/archive/crawler/processor/LexicalCrawlMapperTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * LexicalCrawlMapper.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.crawler.processor; diff --git a/engine/src/test/java/org/archive/crawler/selftest/BackgroundImageExtractionSelfTestCase.java b/engine/src/test/java/org/archive/crawler/selftest/BackgroundImageExtractionSelfTestCase.java index 42383717..2570f6b8 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/BackgroundImageExtractionSelfTestCase.java +++ b/engine/src/test/java/org/archive/crawler/selftest/BackgroundImageExtractionSelfTestCase.java @@ -1,24 +1,20 @@ -/* BackgroundImageExtractionSelfTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Jan 29, 2004 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2004 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.selftest; diff --git a/engine/src/test/java/org/archive/crawler/selftest/BadURIsStopPageParsingSelfTest.java b/engine/src/test/java/org/archive/crawler/selftest/BadURIsStopPageParsingSelfTest.java index 3d5b0a45..10dc3321 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/BadURIsStopPageParsingSelfTest.java +++ b/engine/src/test/java/org/archive/crawler/selftest/BadURIsStopPageParsingSelfTest.java @@ -1,24 +1,20 @@ -/* BadURIsStopPageParsingSelfTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Mar 10, 2004 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2004 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.selftest; diff --git a/engine/src/test/java/org/archive/crawler/selftest/CharsetSelfTest.java b/engine/src/test/java/org/archive/crawler/selftest/CharsetSelfTest.java index 05d98ed3..6661ab74 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/CharsetSelfTest.java +++ b/engine/src/test/java/org/archive/crawler/selftest/CharsetSelfTest.java @@ -1,24 +1,20 @@ -/* CharsetSelfTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Mar 10, 2004 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2004 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.selftest; diff --git a/engine/src/test/java/org/archive/crawler/selftest/CheckpointSelfTest.java b/engine/src/test/java/org/archive/crawler/selftest/CheckpointSelfTest.java index 84b80df6..138f47a1 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/CheckpointSelfTest.java +++ b/engine/src/test/java/org/archive/crawler/selftest/CheckpointSelfTest.java @@ -1,24 +1,20 @@ -/* $Id$ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created Aug 15, 2006 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2006 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.selftest; diff --git a/engine/src/test/java/org/archive/crawler/selftest/FormAuthServlet.java b/engine/src/test/java/org/archive/crawler/selftest/FormAuthServlet.java index 155e1a8a..fb35d877 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/FormAuthServlet.java +++ b/engine/src/test/java/org/archive/crawler/selftest/FormAuthServlet.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * AuthServlet.java - * - * Created on Feb 23, 2007 - * - * $Id:$ + * 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.archive.crawler.selftest; diff --git a/engine/src/test/java/org/archive/crawler/selftest/FramesSelfTestCase.java b/engine/src/test/java/org/archive/crawler/selftest/FramesSelfTestCase.java index e3b9e409..5183ead1 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/FramesSelfTestCase.java +++ b/engine/src/test/java/org/archive/crawler/selftest/FramesSelfTestCase.java @@ -1,24 +1,20 @@ -/* FramesSelfTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Feb 6, 2004 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2004 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.selftest; diff --git a/engine/src/test/java/org/archive/crawler/selftest/MaxLinkHopsSelfTest.java b/engine/src/test/java/org/archive/crawler/selftest/MaxLinkHopsSelfTest.java index c3853de4..22adc4c3 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/MaxLinkHopsSelfTest.java +++ b/engine/src/test/java/org/archive/crawler/selftest/MaxLinkHopsSelfTest.java @@ -1,24 +1,20 @@ -/* MaxLinkHopsSelfTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Feb 17, 2004 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2004 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.crawler.selftest; diff --git a/engine/src/test/java/org/archive/crawler/selftest/RandomServlet.java b/engine/src/test/java/org/archive/crawler/selftest/RandomServlet.java index 545a17e8..65f98d76 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/RandomServlet.java +++ b/engine/src/test/java/org/archive/crawler/selftest/RandomServlet.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RandomServlet.java - * - * Created on Feb 28, 2007 - * - * $Id:$ + * 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.archive.crawler.selftest; diff --git a/engine/src/test/java/org/archive/crawler/selftest/RandomServletTest.java b/engine/src/test/java/org/archive/crawler/selftest/RandomServletTest.java index 10f7946c..2e93e745 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/RandomServletTest.java +++ b/engine/src/test/java/org/archive/crawler/selftest/RandomServletTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RandomServletTest.java - * - * Created on Feb 28, 2007 - * - * $Id:$ + * 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.archive.crawler.selftest; diff --git a/engine/src/test/java/org/archive/crawler/selftest/SimpleSelfTest.java b/engine/src/test/java/org/archive/crawler/selftest/SimpleSelfTest.java index bbbf8b96..5441ed6a 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/SimpleSelfTest.java +++ b/engine/src/test/java/org/archive/crawler/selftest/SimpleSelfTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * SimpleSelfTest.java - * - * Created on Feb 22, 2007 - * - * $Id:$ + * 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.archive.crawler.selftest; diff --git a/engine/src/test/java/org/archive/crawler/selftest/UserAgentSelfTest.java b/engine/src/test/java/org/archive/crawler/selftest/UserAgentSelfTest.java index feee1abc..48925345 100644 --- a/engine/src/test/java/org/archive/crawler/selftest/UserAgentSelfTest.java +++ b/engine/src/test/java/org/archive/crawler/selftest/UserAgentSelfTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * UserAgentSelfTest.java - * - * Created on Apr 27, 2007 - * - * $Id:$ + * 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.archive.crawler.selftest; diff --git a/modules/src/main/java/org/archive/modules/CoreAttributeConstants.java b/modules/src/main/java/org/archive/modules/CoreAttributeConstants.java index fd8ed903..b5def89f 100644 --- a/modules/src/main/java/org/archive/modules/CoreAttributeConstants.java +++ b/modules/src/main/java/org/archive/modules/CoreAttributeConstants.java @@ -1,27 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * CoreAttributeConstants.java - * Created on Jun 17, 2003 - * - * $Header: /cvsroot/archive-crawler/ArchiveOpenCrawler/src//** - * @author gojomo + * 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.archive.modules; diff --git a/modules/src/main/java/org/archive/modules/Processor.java b/modules/src/main/java/org/archive/modules/Processor.java index 46bcce5e..0325c45e 100644 --- a/modules/src/main/java/org/archive/modules/Processor.java +++ b/modules/src/main/java/org/archive/modules/Processor.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2006 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Processor.java - * Created on October 5, 2006 - * - * $Header$ + * 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.archive.modules; diff --git a/modules/src/main/java/org/archive/modules/ProcessorLevel.java b/modules/src/main/java/org/archive/modules/ProcessorLevel.java deleted file mode 100644 index 6126eddc..00000000 --- a/modules/src/main/java/org/archive/modules/ProcessorLevel.java +++ /dev/null @@ -1,62 +0,0 @@ -/* Copyright (C) 2006 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ProcessorLevel.java - * Created on December 14, 2006 - * - * $Header$ - */ -package org.archive.modules; - -import java.util.logging.Level; - - -/** - * Custom log levels for processors. - * - * @author pjack - */ -public class ProcessorLevel extends Level { - - - private static final long serialVersionUID = 1L; - - - /** - * Level for logging problematic URIs. - */ - final public static ProcessorLevel URI = new ProcessorLevel("URI", - (WARNING.intValue() - INFO.intValue()) / 2 + INFO.intValue()); - // Halfway between INFO and WARNING - - private ProcessorLevel(String name, int level) { - super(name, level); - } - - - private Object readResolve() { - return URI; - } - - - public static void main(String args[]) { - System.out.println(Level.INFO.intValue()); - System.out.println(Level.WARNING.intValue()); - System.out.println(Level.SEVERE.intValue()); - } -} diff --git a/modules/src/main/java/org/archive/modules/ProcessorTestBase.java b/modules/src/main/java/org/archive/modules/ProcessorTestBase.java index d26a6676..05d9dece 100644 --- a/modules/src/main/java/org/archive/modules/ProcessorTestBase.java +++ b/modules/src/main/java/org/archive/modules/ProcessorTestBase.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2006 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ProcessorTest.java - * Created on October 5, 2006 - * - * $Header$ + * 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.archive.modules; diff --git a/modules/src/main/java/org/archive/modules/canonicalize/BaseRule.java b/modules/src/main/java/org/archive/modules/canonicalize/BaseRule.java index fced885a..ebb08b72 100644 --- a/modules/src/main/java/org/archive/modules/canonicalize/BaseRule.java +++ b/modules/src/main/java/org/archive/modules/canonicalize/BaseRule.java @@ -1,24 +1,20 @@ -/* BaseRule - * - * Created on Oct 5, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/main/java/org/archive/modules/canonicalize/CanonicalizationRule.java b/modules/src/main/java/org/archive/modules/canonicalize/CanonicalizationRule.java index adf956dd..4031ec44 100644 --- a/modules/src/main/java/org/archive/modules/canonicalize/CanonicalizationRule.java +++ b/modules/src/main/java/org/archive/modules/canonicalize/CanonicalizationRule.java @@ -1,24 +1,20 @@ -/* CanonicalizationRule - * - * Created on Oct 7, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/main/java/org/archive/modules/canonicalize/FixupQueryString.java b/modules/src/main/java/org/archive/modules/canonicalize/FixupQueryString.java index 377c4818..6817954d 100644 --- a/modules/src/main/java/org/archive/modules/canonicalize/FixupQueryString.java +++ b/modules/src/main/java/org/archive/modules/canonicalize/FixupQueryString.java @@ -1,24 +1,20 @@ -/* FixupQueryStr - * - * Created on Oct 5, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/main/java/org/archive/modules/canonicalize/LowercaseRule.java b/modules/src/main/java/org/archive/modules/canonicalize/LowercaseRule.java index 8595cbde..8159eb62 100644 --- a/modules/src/main/java/org/archive/modules/canonicalize/LowercaseRule.java +++ b/modules/src/main/java/org/archive/modules/canonicalize/LowercaseRule.java @@ -1,24 +1,20 @@ -/* LowercaseRule - * - * Created on Oct 5, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/main/java/org/archive/modules/canonicalize/RegexRule.java b/modules/src/main/java/org/archive/modules/canonicalize/RegexRule.java index a7d4af4c..498cc2aa 100644 --- a/modules/src/main/java/org/archive/modules/canonicalize/RegexRule.java +++ b/modules/src/main/java/org/archive/modules/canonicalize/RegexRule.java @@ -1,24 +1,20 @@ -/* RegexRule - * - * Created on Oct 6, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/main/java/org/archive/modules/canonicalize/StripSessionCFIDs.java b/modules/src/main/java/org/archive/modules/canonicalize/StripSessionCFIDs.java index 5d10a8cc..3eef8fbd 100644 --- a/modules/src/main/java/org/archive/modules/canonicalize/StripSessionCFIDs.java +++ b/modules/src/main/java/org/archive/modules/canonicalize/StripSessionCFIDs.java @@ -1,24 +1,20 @@ -/* $Id$ - * - * Created on September 1st, 2006 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2006 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/main/java/org/archive/modules/canonicalize/StripSessionIDs.java b/modules/src/main/java/org/archive/modules/canonicalize/StripSessionIDs.java index 921d13de..b7473217 100644 --- a/modules/src/main/java/org/archive/modules/canonicalize/StripSessionIDs.java +++ b/modules/src/main/java/org/archive/modules/canonicalize/StripSessionIDs.java @@ -1,24 +1,20 @@ -/* StripSessionIDs - * - * Created on Oct 6, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/main/java/org/archive/modules/canonicalize/StripUserinfoRule.java b/modules/src/main/java/org/archive/modules/canonicalize/StripUserinfoRule.java index 4d114d39..35045e79 100644 --- a/modules/src/main/java/org/archive/modules/canonicalize/StripUserinfoRule.java +++ b/modules/src/main/java/org/archive/modules/canonicalize/StripUserinfoRule.java @@ -1,24 +1,20 @@ -/* StripUserinfoRule - * - * Created on Oct 5, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/main/java/org/archive/modules/canonicalize/StripWWWNRule.java b/modules/src/main/java/org/archive/modules/canonicalize/StripWWWNRule.java index ac57aa2e..de38fc74 100644 --- a/modules/src/main/java/org/archive/modules/canonicalize/StripWWWNRule.java +++ b/modules/src/main/java/org/archive/modules/canonicalize/StripWWWNRule.java @@ -1,24 +1,20 @@ -/* StripWWWRule - * - * Created on Oct 5, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/main/java/org/archive/modules/canonicalize/StripWWWRule.java b/modules/src/main/java/org/archive/modules/canonicalize/StripWWWRule.java index fc7e7d37..317dee6f 100644 --- a/modules/src/main/java/org/archive/modules/canonicalize/StripWWWRule.java +++ b/modules/src/main/java/org/archive/modules/canonicalize/StripWWWRule.java @@ -1,24 +1,20 @@ -/* StripWWWRule - * - * Created on Oct 5, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/main/java/org/archive/modules/deciderules/DecideResult.java b/modules/src/main/java/org/archive/modules/deciderules/DecideResult.java index b996303e..93459239 100644 --- a/modules/src/main/java/org/archive/modules/deciderules/DecideResult.java +++ b/modules/src/main/java/org/archive/modules/deciderules/DecideResult.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2006 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * DecideResult.java - * Created on October 5, 2006 - * - * $Header$ + * 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.archive.modules.deciderules; diff --git a/modules/src/main/java/org/archive/modules/deciderules/ExternalGeoLookupInterface.java b/modules/src/main/java/org/archive/modules/deciderules/ExternalGeoLookupInterface.java index 2814f7c8..05511c5b 100644 --- a/modules/src/main/java/org/archive/modules/deciderules/ExternalGeoLookupInterface.java +++ b/modules/src/main/java/org/archive/modules/deciderules/ExternalGeoLookupInterface.java @@ -1,24 +1,20 @@ -/* ExternalImplInterface - * - * Created on May 25, 2005 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2005 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.deciderules; diff --git a/modules/src/main/java/org/archive/modules/deciderules/MatchesFilePatternDecideRule.java b/modules/src/main/java/org/archive/modules/deciderules/MatchesFilePatternDecideRule.java index 61377842..55295c64 100644 --- a/modules/src/main/java/org/archive/modules/deciderules/MatchesFilePatternDecideRule.java +++ b/modules/src/main/java/org/archive/modules/deciderules/MatchesFilePatternDecideRule.java @@ -1,29 +1,21 @@ /* - * MatchesFilePatternDecideRule + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Mar 11, 2004 + * The IA 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 * - * Copyright (C) 2004 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.modules.deciderules; import java.util.regex.Pattern; diff --git a/modules/src/main/java/org/archive/modules/deciderules/surt/NotOnDomainsDecideRule.java b/modules/src/main/java/org/archive/modules/deciderules/surt/NotOnDomainsDecideRule.java index 029ac52b..a8d1341c 100644 --- a/modules/src/main/java/org/archive/modules/deciderules/surt/NotOnDomainsDecideRule.java +++ b/modules/src/main/java/org/archive/modules/deciderules/surt/NotOnDomainsDecideRule.java @@ -1,27 +1,21 @@ -/* NotOnDomainsDecideRule -* -* $Id: NotOnDomainsDecideRule.java 4649 2006-09-25 17:16:55Z paul_jack $ -* -* Created on Apr 5, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.deciderules.surt; import org.archive.modules.CrawlURI; diff --git a/modules/src/main/java/org/archive/modules/deciderules/surt/OnDomainsDecideRule.java b/modules/src/main/java/org/archive/modules/deciderules/surt/OnDomainsDecideRule.java index cf5fad2f..c7fbf5c2 100644 --- a/modules/src/main/java/org/archive/modules/deciderules/surt/OnDomainsDecideRule.java +++ b/modules/src/main/java/org/archive/modules/deciderules/surt/OnDomainsDecideRule.java @@ -1,27 +1,21 @@ -/* OnDomainsDecideRule -* -* $Id$ -* -* Created on Apr 5, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.deciderules.surt; import org.archive.util.SurtPrefixSet; diff --git a/modules/src/main/java/org/archive/modules/deciderules/surt/OnHostsDecideRule.java b/modules/src/main/java/org/archive/modules/deciderules/surt/OnHostsDecideRule.java index ff594ab8..c4d93aaf 100644 --- a/modules/src/main/java/org/archive/modules/deciderules/surt/OnHostsDecideRule.java +++ b/modules/src/main/java/org/archive/modules/deciderules/surt/OnHostsDecideRule.java @@ -1,27 +1,21 @@ -/* OnHostsDecideRule -* -* $Id$ -* -* Created on Apr 5, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.deciderules.surt; import org.archive.util.SurtPrefixSet; diff --git a/modules/src/main/java/org/archive/modules/extractor/ExtractorPDF.java b/modules/src/main/java/org/archive/modules/extractor/ExtractorPDF.java index ff6671c3..9a71227e 100644 --- a/modules/src/main/java/org/archive/modules/extractor/ExtractorPDF.java +++ b/modules/src/main/java/org/archive/modules/extractor/ExtractorPDF.java @@ -1,23 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Created on Jul 11, 2003 + * 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.archive.modules.extractor; diff --git a/modules/src/main/java/org/archive/modules/extractor/ExtractorSWF.java b/modules/src/main/java/org/archive/modules/extractor/ExtractorSWF.java index cdf9cab4..7a09a490 100644 --- a/modules/src/main/java/org/archive/modules/extractor/ExtractorSWF.java +++ b/modules/src/main/java/org/archive/modules/extractor/ExtractorSWF.java @@ -1,29 +1,21 @@ /* - * Heritrix + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on March 19, 2004 + * The IA 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 * - * Copyright (C) 2003 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.modules.extractor; import java.io.IOException; diff --git a/modules/src/main/java/org/archive/modules/extractor/HTMLLinkContext.java b/modules/src/main/java/org/archive/modules/extractor/HTMLLinkContext.java index bf4e1c62..b5eebdab 100644 --- a/modules/src/main/java/org/archive/modules/extractor/HTMLLinkContext.java +++ b/modules/src/main/java/org/archive/modules/extractor/HTMLLinkContext.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2006 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Hop.java - * Created on October 5, 2006 - * - * $Header$ + * 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.archive.modules.extractor; diff --git a/modules/src/main/java/org/archive/modules/extractor/LinkContext.java b/modules/src/main/java/org/archive/modules/extractor/LinkContext.java index 696e6aa0..6fc89db4 100644 --- a/modules/src/main/java/org/archive/modules/extractor/LinkContext.java +++ b/modules/src/main/java/org/archive/modules/extractor/LinkContext.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2006 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * LinkContext.java - * Created on October 5, 2006 - * - * $Header$ + * 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.archive.modules.extractor; diff --git a/modules/src/main/java/org/archive/modules/extractor/PDFParser.java b/modules/src/main/java/org/archive/modules/extractor/PDFParser.java index 8e83f484..20f9d78e 100644 --- a/modules/src/main/java/org/archive/modules/extractor/PDFParser.java +++ b/modules/src/main/java/org/archive/modules/extractor/PDFParser.java @@ -1,24 +1,20 @@ -/*RELICENSE_RESEARCH*/ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Created on Jul 14, 2003 + * 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.archive.modules.extractor; diff --git a/modules/src/main/java/org/archive/modules/extractor/UriErrorLoggerModule.java b/modules/src/main/java/org/archive/modules/extractor/UriErrorLoggerModule.java index 9410f4d3..855dce09 100644 --- a/modules/src/main/java/org/archive/modules/extractor/UriErrorLoggerModule.java +++ b/modules/src/main/java/org/archive/modules/extractor/UriErrorLoggerModule.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * UriErrorLoggerModule.java - * - * Created on Aug 14, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/main/java/org/archive/modules/fetcher/AbstractCookieStorage.java b/modules/src/main/java/org/archive/modules/fetcher/AbstractCookieStorage.java index 9ee624b4..b6043651 100644 --- a/modules/src/main/java/org/archive/modules/fetcher/AbstractCookieStorage.java +++ b/modules/src/main/java/org/archive/modules/fetcher/AbstractCookieStorage.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * FileCookeStorage.java - * - * Created on Apr 18, 2007 - * - * $Id:$ + * 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.archive.modules.fetcher; diff --git a/modules/src/main/java/org/archive/modules/fetcher/CookieStorage.java b/modules/src/main/java/org/archive/modules/fetcher/CookieStorage.java index b14177d9..3442eb51 100644 --- a/modules/src/main/java/org/archive/modules/fetcher/CookieStorage.java +++ b/modules/src/main/java/org/archive/modules/fetcher/CookieStorage.java @@ -1,26 +1,20 @@ -/* CookieStorage.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Nov 21, 2006 + * The IA 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 * - * Copyright (C) 2006 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.modules.fetcher; diff --git a/modules/src/main/java/org/archive/modules/fetcher/FetchStatusCodes.java b/modules/src/main/java/org/archive/modules/fetcher/FetchStatusCodes.java index c4ce16cd..67c395ac 100644 --- a/modules/src/main/java/org/archive/modules/fetcher/FetchStatusCodes.java +++ b/modules/src/main/java/org/archive/modules/fetcher/FetchStatusCodes.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2003 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * FetchStatusCodes.java - * Created on Jun 19, 2003 - * - * $Header$ + * 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.archive.modules.fetcher; diff --git a/modules/src/main/java/org/archive/modules/fetcher/HeritrixHttpMethodRetryHandler.java b/modules/src/main/java/org/archive/modules/fetcher/HeritrixHttpMethodRetryHandler.java index 99fd7bfc..2be4af14 100644 --- a/modules/src/main/java/org/archive/modules/fetcher/HeritrixHttpMethodRetryHandler.java +++ b/modules/src/main/java/org/archive/modules/fetcher/HeritrixHttpMethodRetryHandler.java @@ -1,25 +1,21 @@ -/* HttpRecorderGetMethod -* - * Created on Sep 29, 2004 -* -* Copyright (C) 2003 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.fetcher; import java.io.IOException; diff --git a/modules/src/main/java/org/archive/modules/fetcher/HeritrixProtocolSocketFactory.java b/modules/src/main/java/org/archive/modules/fetcher/HeritrixProtocolSocketFactory.java index f4de62ba..732b1d7e 100644 --- a/modules/src/main/java/org/archive/modules/fetcher/HeritrixProtocolSocketFactory.java +++ b/modules/src/main/java/org/archive/modules/fetcher/HeritrixProtocolSocketFactory.java @@ -1,24 +1,20 @@ -/* HeritrixProtocolSocketFactory - * - * Created on Oct 8, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.fetcher; diff --git a/modules/src/main/java/org/archive/modules/fetcher/HeritrixSSLProtocolSocketFactory.java b/modules/src/main/java/org/archive/modules/fetcher/HeritrixSSLProtocolSocketFactory.java index a2a7c05c..483c36f5 100644 --- a/modules/src/main/java/org/archive/modules/fetcher/HeritrixSSLProtocolSocketFactory.java +++ b/modules/src/main/java/org/archive/modules/fetcher/HeritrixSSLProtocolSocketFactory.java @@ -1,24 +1,20 @@ -/* HeritixSSLProtocolSocketFactory +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Created on Feb 18, 2004 + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Copyright (C) 2004 Internet Archive. + * The IA 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 * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * http://www.apache.org/licenses/LICENSE-2.0 * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.modules.fetcher; diff --git a/modules/src/main/java/org/archive/modules/fetcher/HostResolver.java b/modules/src/main/java/org/archive/modules/fetcher/HostResolver.java index 0891d913..02c78003 100644 --- a/modules/src/main/java/org/archive/modules/fetcher/HostResolver.java +++ b/modules/src/main/java/org/archive/modules/fetcher/HostResolver.java @@ -1,26 +1,20 @@ -/* HostResolver.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Nov 21, 2006 + * The IA 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 * - * Copyright (C) 2006 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.modules.fetcher; diff --git a/modules/src/main/java/org/archive/modules/fetcher/SimpleCookieStorage.java b/modules/src/main/java/org/archive/modules/fetcher/SimpleCookieStorage.java index 374d89c1..c5e914ac 100644 --- a/modules/src/main/java/org/archive/modules/fetcher/SimpleCookieStorage.java +++ b/modules/src/main/java/org/archive/modules/fetcher/SimpleCookieStorage.java @@ -1,26 +1,20 @@ -/* SimpleCookieStorage.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created on Nov 21, 2006 + * The IA 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 * - * Copyright (C) 2006 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.modules.fetcher; diff --git a/modules/src/main/java/org/archive/modules/fetcher/UserAgentProvider.java b/modules/src/main/java/org/archive/modules/fetcher/UserAgentProvider.java index 4d56b612..5723a9a4 100644 --- a/modules/src/main/java/org/archive/modules/fetcher/UserAgentProvider.java +++ b/modules/src/main/java/org/archive/modules/fetcher/UserAgentProvider.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * UserAgentModule.java - * - * Created on Aug 17, 2007 - * - * $Id:$ + * 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.archive.modules.fetcher; diff --git a/modules/src/main/java/org/archive/modules/net/DefaultTempDirProvider.java b/modules/src/main/java/org/archive/modules/net/DefaultTempDirProvider.java index 8adc3b15..90d4bdda 100644 --- a/modules/src/main/java/org/archive/modules/net/DefaultTempDirProvider.java +++ b/modules/src/main/java/org/archive/modules/net/DefaultTempDirProvider.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * DefaultTempDirProvider.java - * - * Created on Feb 1, 2007 - * - * $Id:$ + * 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.archive.modules.net; diff --git a/modules/src/main/java/org/archive/modules/net/RobotsDirectives.java b/modules/src/main/java/org/archive/modules/net/RobotsDirectives.java index a43f3373..aefaccb1 100644 --- a/modules/src/main/java/org/archive/modules/net/RobotsDirectives.java +++ b/modules/src/main/java/org/archive/modules/net/RobotsDirectives.java @@ -1,27 +1,21 @@ -/* RobotsDirectives.java - * - * $Id: PrefixSet.java 4947 2007-03-01 04:47:24Z gojomo $ - * - * Created April 29, 2008 - * - * Copyright (C) 2008 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.net; import java.io.Serializable; diff --git a/modules/src/main/java/org/archive/modules/net/Robotstxt.java b/modules/src/main/java/org/archive/modules/net/Robotstxt.java index 07078b17..eecf6145 100644 --- a/modules/src/main/java/org/archive/modules/net/Robotstxt.java +++ b/modules/src/main/java/org/archive/modules/net/Robotstxt.java @@ -1,26 +1,20 @@ -/* Robots.java +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Sep 1, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.modules.net; diff --git a/modules/src/main/java/org/archive/modules/net/ServerCacheUtil.java b/modules/src/main/java/org/archive/modules/net/ServerCacheUtil.java index 1af1c372..b68399d3 100644 --- a/modules/src/main/java/org/archive/modules/net/ServerCacheUtil.java +++ b/modules/src/main/java/org/archive/modules/net/ServerCacheUtil.java @@ -1,26 +1,22 @@ -/* Copyright (C) 2006 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ServerCacheUtil.java - * Created on December 13, 2006 - * - * $Id$ + * 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.archive.modules.net; import java.util.logging.Level; diff --git a/modules/src/main/java/org/archive/modules/recrawl/RecrawlAttributeConstants.java b/modules/src/main/java/org/archive/modules/recrawl/RecrawlAttributeConstants.java index 822f2efc..bb0e54e6 100644 --- a/modules/src/main/java/org/archive/modules/recrawl/RecrawlAttributeConstants.java +++ b/modules/src/main/java/org/archive/modules/recrawl/RecrawlAttributeConstants.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RecrawlAttributeConstants.java - * - * Created on May 16, 2007 - * - * $Id:$ + * 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.archive.modules.recrawl; diff --git a/modules/src/main/java/org/archive/modules/seeds/SeedFileIterator.java b/modules/src/main/java/org/archive/modules/seeds/SeedFileIterator.java deleted file mode 100644 index da717517..00000000 --- a/modules/src/main/java/org/archive/modules/seeds/SeedFileIterator.java +++ /dev/null @@ -1,130 +0,0 @@ -/* SeedFileIterator -* -* $Id$ -* -* Created on Mar 28, 2005 -* -* Copyright (C) 2005 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ -package org.archive.modules.seeds; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.Writer; -import java.util.logging.Level; -import java.util.logging.Logger; - -import org.apache.commons.httpclient.URIException; -import org.archive.net.UURI; -import org.archive.net.UURIFactory; -import org.archive.util.iterator.LineReadingIterator; -import org.archive.util.iterator.RegexLineIterator; -import org.archive.util.iterator.TransformingIteratorWrapper; - - -/** - * Iterator wrapper for seeds file on disk. - * - * @author gojomo - */ -public class SeedFileIterator extends TransformingIteratorWrapper { - private static Logger logger = - Logger.getLogger(SeedFileIterator.class.getName()); - - BufferedReader input; - Writer ignored; - - /** - * Construct a SeedFileIterator over the input available - * from the supplied BufferedReader. - * @param br BufferedReader from which to get seeds - */ - public SeedFileIterator(BufferedReader br) { - this(br,null); - } - - /** - * Construct a SeedFileIterator over the input available - * from the supplied BufferedReader, reporting any nonblank - * noncomment entries which don't generate a valid seed to - * the supplied BufferedWriter. - * - * @param inputReader BufferedReader from which to get seeds - * @param ignoredWriter BufferedWriter to report any ignored input - */ - public SeedFileIterator(BufferedReader inputReader, Writer ignoredWriter) { - super(); - inner = new RegexLineIterator( - new LineReadingIterator(inputReader), - RegexLineIterator.COMMENT_LINE, - RegexLineIterator.NONWHITESPACE_ENTRY_TRAILING_COMMENT, - RegexLineIterator.ENTRY); - input = inputReader; - ignored = ignoredWriter; - } - - protected UURI transform(String uri) { - if(! uri.matches("[a-zA-Z][\\w+\\-]+:.*")) { // Rfc2396 s3.1 scheme, - // minus '.' - // Does not begin with scheme, so try http:// - uri = "http://"+uri; - } - try { - // TODO: ignore lines beginning with non-word char - return UURIFactory.getInstance(uri); - } catch (URIException e) { - logger.log(Level.INFO, "line in seed file ignored: " - + e.getMessage(), e); - if(ignored!=null) { - try { - ignored.write(uri+"\n"); - } catch (IOException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } - } - return null; - } - } - - - /** - * Clean-up when hasNext() has returned null: close open files. - * - * @see org.archive.util.iterator.TransformingIteratorWrapper#noteExhausted() - */ - protected void noteExhausted() { - super.noteExhausted(); - close(); - } - - public void close() { - try { - if(input!=null) { - input.close(); - } - if(ignored!=null) { - ignored.close(); - } - } catch (IOException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - } -} \ No newline at end of file diff --git a/modules/src/test/java/org/archive/modules/canonicalize/FixupQueryStringTest.java b/modules/src/test/java/org/archive/modules/canonicalize/FixupQueryStringTest.java index 4fee1a31..2a4b3fd8 100644 --- a/modules/src/test/java/org/archive/modules/canonicalize/FixupQueryStringTest.java +++ b/modules/src/test/java/org/archive/modules/canonicalize/FixupQueryStringTest.java @@ -1,24 +1,20 @@ -/* FixupQueryStrTest - * - * Created on Oct 6, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/test/java/org/archive/modules/canonicalize/LowercaseRuleTest.java b/modules/src/test/java/org/archive/modules/canonicalize/LowercaseRuleTest.java index b9b0329d..976df48e 100644 --- a/modules/src/test/java/org/archive/modules/canonicalize/LowercaseRuleTest.java +++ b/modules/src/test/java/org/archive/modules/canonicalize/LowercaseRuleTest.java @@ -1,24 +1,20 @@ -/* LowercaseRuleTest - * - * Created on Oct 6, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/test/java/org/archive/modules/canonicalize/RegexRuleTest.java b/modules/src/test/java/org/archive/modules/canonicalize/RegexRuleTest.java index d6cce6a8..5bbf6d99 100644 --- a/modules/src/test/java/org/archive/modules/canonicalize/RegexRuleTest.java +++ b/modules/src/test/java/org/archive/modules/canonicalize/RegexRuleTest.java @@ -1,24 +1,20 @@ -/* RegexRuleTest - * - * Created on Oct 6, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/test/java/org/archive/modules/canonicalize/StripSessionIDsTest.java b/modules/src/test/java/org/archive/modules/canonicalize/StripSessionIDsTest.java index 8f6ab297..40c4b688 100644 --- a/modules/src/test/java/org/archive/modules/canonicalize/StripSessionIDsTest.java +++ b/modules/src/test/java/org/archive/modules/canonicalize/StripSessionIDsTest.java @@ -1,24 +1,20 @@ -/* StripSessionIDsTest - * - * Created on Oct 6, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/test/java/org/archive/modules/canonicalize/StripUserinfoRuleTest.java b/modules/src/test/java/org/archive/modules/canonicalize/StripUserinfoRuleTest.java index e24635a5..0714548e 100644 --- a/modules/src/test/java/org/archive/modules/canonicalize/StripUserinfoRuleTest.java +++ b/modules/src/test/java/org/archive/modules/canonicalize/StripUserinfoRuleTest.java @@ -1,24 +1,20 @@ -/* StripUserinfoRuleTest - * - * Created on Oct 6, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/test/java/org/archive/modules/canonicalize/StripWWWNRuleTest.java b/modules/src/test/java/org/archive/modules/canonicalize/StripWWWNRuleTest.java index 89e5d25b..1bb8f5d8 100644 --- a/modules/src/test/java/org/archive/modules/canonicalize/StripWWWNRuleTest.java +++ b/modules/src/test/java/org/archive/modules/canonicalize/StripWWWNRuleTest.java @@ -1,24 +1,20 @@ -/* StripWWWRuleTest - * - * Created on Oct 6, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/test/java/org/archive/modules/canonicalize/StripWWWRuleTest.java b/modules/src/test/java/org/archive/modules/canonicalize/StripWWWRuleTest.java index 9ce2c6b3..8975f5a7 100644 --- a/modules/src/test/java/org/archive/modules/canonicalize/StripWWWRuleTest.java +++ b/modules/src/test/java/org/archive/modules/canonicalize/StripWWWRuleTest.java @@ -1,24 +1,20 @@ -/* StripWWWRuleTest - * - * Created on Oct 6, 2004 +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * Copyright (C) 2004 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.canonicalize; diff --git a/modules/src/test/java/org/archive/modules/credential/HtmlFormCredentialTest.java b/modules/src/test/java/org/archive/modules/credential/HtmlFormCredentialTest.java index 22c48079..5189d5b5 100644 --- a/modules/src/test/java/org/archive/modules/credential/HtmlFormCredentialTest.java +++ b/modules/src/test/java/org/archive/modules/credential/HtmlFormCredentialTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * HtmlFormCredentialTest.java - * - * Created on Feb 2, 2007 - * - * $Id:$ + * 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.archive.modules.credential; diff --git a/modules/src/test/java/org/archive/modules/credential/HttpAuthenticationCredentialTest.java b/modules/src/test/java/org/archive/modules/credential/HttpAuthenticationCredentialTest.java index 78864e16..fe72adcf 100644 --- a/modules/src/test/java/org/archive/modules/credential/HttpAuthenticationCredentialTest.java +++ b/modules/src/test/java/org/archive/modules/credential/HttpAuthenticationCredentialTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * HtmlFormCredentialTest.java - * - * Created on Feb 2, 2007 - * - * $Id:$ + * 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.archive.modules.credential; diff --git a/modules/src/test/java/org/archive/modules/deciderules/DecideRuleSequenceTest.java b/modules/src/test/java/org/archive/modules/deciderules/DecideRuleSequenceTest.java index 3e0956c2..28109988 100644 --- a/modules/src/test/java/org/archive/modules/deciderules/DecideRuleSequenceTest.java +++ b/modules/src/test/java/org/archive/modules/deciderules/DecideRuleSequenceTest.java @@ -1,25 +1,20 @@ -/* Copyright (C) 2006 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * DecideRule.java - * Created on October 5, 2006 - * - * $Header$ + * 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.archive.modules.deciderules; diff --git a/modules/src/test/java/org/archive/modules/extractor/AggressiveExtractorHTMLTest.java b/modules/src/test/java/org/archive/modules/extractor/AggressiveExtractorHTMLTest.java index e8020aca..2f339dd9 100644 --- a/modules/src/test/java/org/archive/modules/extractor/AggressiveExtractorHTMLTest.java +++ b/modules/src/test/java/org/archive/modules/extractor/AggressiveExtractorHTMLTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * AggressiveExtractorHTML.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/extractor/ExtractorDOCTest.java b/modules/src/test/java/org/archive/modules/extractor/ExtractorDOCTest.java index 62915ed2..775780dd 100644 --- a/modules/src/test/java/org/archive/modules/extractor/ExtractorDOCTest.java +++ b/modules/src/test/java/org/archive/modules/extractor/ExtractorDOCTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ExtractorDOC.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/extractor/ExtractorHTTPTest.java b/modules/src/test/java/org/archive/modules/extractor/ExtractorHTTPTest.java index 8faee239..d4d2fc22 100644 --- a/modules/src/test/java/org/archive/modules/extractor/ExtractorHTTPTest.java +++ b/modules/src/test/java/org/archive/modules/extractor/ExtractorHTTPTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ExtractorHTTP.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/extractor/ExtractorImpliedURITest.java b/modules/src/test/java/org/archive/modules/extractor/ExtractorImpliedURITest.java index 669a660a..f2680f60 100644 --- a/modules/src/test/java/org/archive/modules/extractor/ExtractorImpliedURITest.java +++ b/modules/src/test/java/org/archive/modules/extractor/ExtractorImpliedURITest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ExtractorImpliedURI.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/extractor/ExtractorJSTest.java b/modules/src/test/java/org/archive/modules/extractor/ExtractorJSTest.java index eaec8848..7f772f50 100644 --- a/modules/src/test/java/org/archive/modules/extractor/ExtractorJSTest.java +++ b/modules/src/test/java/org/archive/modules/extractor/ExtractorJSTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ExtractorJS.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/extractor/ExtractorPDFTest.java b/modules/src/test/java/org/archive/modules/extractor/ExtractorPDFTest.java index cf67a478..2cb4f1eb 100644 --- a/modules/src/test/java/org/archive/modules/extractor/ExtractorPDFTest.java +++ b/modules/src/test/java/org/archive/modules/extractor/ExtractorPDFTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ExtractorPDF.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/extractor/ExtractorSWFTest.java b/modules/src/test/java/org/archive/modules/extractor/ExtractorSWFTest.java index 5e2a2eb6..5167d8bb 100644 --- a/modules/src/test/java/org/archive/modules/extractor/ExtractorSWFTest.java +++ b/modules/src/test/java/org/archive/modules/extractor/ExtractorSWFTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ExtractorSWF.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/extractor/ExtractorURITest.java b/modules/src/test/java/org/archive/modules/extractor/ExtractorURITest.java index 71b8b3d2..0da03fe4 100644 --- a/modules/src/test/java/org/archive/modules/extractor/ExtractorURITest.java +++ b/modules/src/test/java/org/archive/modules/extractor/ExtractorURITest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ExtractorURI.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/extractor/ExtractorUniversalTest.java b/modules/src/test/java/org/archive/modules/extractor/ExtractorUniversalTest.java index d9e47da3..a56911de 100644 --- a/modules/src/test/java/org/archive/modules/extractor/ExtractorUniversalTest.java +++ b/modules/src/test/java/org/archive/modules/extractor/ExtractorUniversalTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ExtractorUniversal.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/extractor/ExtractorXMLTest.java b/modules/src/test/java/org/archive/modules/extractor/ExtractorXMLTest.java index a12f2e68..a77842a4 100644 --- a/modules/src/test/java/org/archive/modules/extractor/ExtractorXMLTest.java +++ b/modules/src/test/java/org/archive/modules/extractor/ExtractorXMLTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * ExtractorXML.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/extractor/HTTPContentDigestTest.java b/modules/src/test/java/org/archive/modules/extractor/HTTPContentDigestTest.java index 632be269..72991636 100644 --- a/modules/src/test/java/org/archive/modules/extractor/HTTPContentDigestTest.java +++ b/modules/src/test/java/org/archive/modules/extractor/HTTPContentDigestTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * HTTPContentDigest.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.extractor; diff --git a/modules/src/test/java/org/archive/modules/fetcher/FetchDNSTest.java b/modules/src/test/java/org/archive/modules/fetcher/FetchDNSTest.java index c424204c..6b040de1 100644 --- a/modules/src/test/java/org/archive/modules/fetcher/FetchDNSTest.java +++ b/modules/src/test/java/org/archive/modules/fetcher/FetchDNSTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * FetchDNSTest.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.fetcher; diff --git a/modules/src/test/java/org/archive/modules/fetcher/FetchFTPTest.java b/modules/src/test/java/org/archive/modules/fetcher/FetchFTPTest.java index ac187797..5b92b1e3 100644 --- a/modules/src/test/java/org/archive/modules/fetcher/FetchFTPTest.java +++ b/modules/src/test/java/org/archive/modules/fetcher/FetchFTPTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * FetchFTPTest.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.fetcher; diff --git a/modules/src/test/java/org/archive/modules/fetcher/FetchHTTPTest.java b/modules/src/test/java/org/archive/modules/fetcher/FetchHTTPTest.java index ad021049..e3407597 100644 --- a/modules/src/test/java/org/archive/modules/fetcher/FetchHTTPTest.java +++ b/modules/src/test/java/org/archive/modules/fetcher/FetchHTTPTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * FetchHTTPTest.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.fetcher; diff --git a/modules/src/test/java/org/archive/modules/net/CrawlHostTest.java b/modules/src/test/java/org/archive/modules/net/CrawlHostTest.java index 7502fd95..685c2579 100644 --- a/modules/src/test/java/org/archive/modules/net/CrawlHostTest.java +++ b/modules/src/test/java/org/archive/modules/net/CrawlHostTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * CrawlHostTest.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.net; diff --git a/modules/src/test/java/org/archive/modules/net/CrawlServerTest.java b/modules/src/test/java/org/archive/modules/net/CrawlServerTest.java index 41ab023c..f78183b0 100644 --- a/modules/src/test/java/org/archive/modules/net/CrawlServerTest.java +++ b/modules/src/test/java/org/archive/modules/net/CrawlServerTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * CrawlServerTest.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.net; diff --git a/modules/src/test/java/org/archive/modules/net/RobotsHonoringPolicyTest.java b/modules/src/test/java/org/archive/modules/net/RobotsHonoringPolicyTest.java index 0051b050..5f153d1a 100644 --- a/modules/src/test/java/org/archive/modules/net/RobotsHonoringPolicyTest.java +++ b/modules/src/test/java/org/archive/modules/net/RobotsHonoringPolicyTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * RobotsHonoringPolicyTest.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.net; diff --git a/modules/src/test/java/org/archive/modules/net/RobotstxtTest.java b/modules/src/test/java/org/archive/modules/net/RobotstxtTest.java index 49d5033c..e0852351 100644 --- a/modules/src/test/java/org/archive/modules/net/RobotstxtTest.java +++ b/modules/src/test/java/org/archive/modules/net/RobotstxtTest.java @@ -1,26 +1,20 @@ -/* RobotstxtTest +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * $Id$ + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Created Sep 1, 2005 + * The IA 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 * - * Copyright (C) 2005 Internet Archive. + * http://www.apache.org/licenses/LICENSE-2.0 * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * 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.archive.modules.net; diff --git a/modules/src/test/java/org/archive/modules/net/ServerCacheTest.java b/modules/src/test/java/org/archive/modules/net/ServerCacheTest.java index c74ea6dd..2320cd1b 100644 --- a/modules/src/test/java/org/archive/modules/net/ServerCacheTest.java +++ b/modules/src/test/java/org/archive/modules/net/ServerCacheTest.java @@ -1,25 +1,21 @@ -/* ServerCacheTest -* -* Created on August 4, 2004 -* -* Copyright (C) 2004 Internet Archive. -* -* This file is part of the Heritrix web crawler (crawler.archive.org). -* -* Heritrix is free software; you can redistribute it and/or modify -* it under the terms of the GNU Lesser Public License as published by -* the Free Software Foundation; either version 2.1 of the License, or -* any later version. -* -* Heritrix is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser Public License for more details. -* -* You should have received a copy of the GNU Lesser Public License -* along with Heritrix; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). + * + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. + * + * The IA 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.archive.modules.net; import junit.framework.TestCase; diff --git a/modules/src/test/java/org/archive/modules/seeds/SeedFileIteratorTest.java b/modules/src/test/java/org/archive/modules/seeds/SeedFileIteratorTest.java deleted file mode 100644 index 2e21e9dc..00000000 --- a/modules/src/test/java/org/archive/modules/seeds/SeedFileIteratorTest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* SeedFileIteratorTest - * - * $Id$ - * - * Created on May 31, 2005 - * - * Copyright (C) 2005 Internet Archive. - * - * This file is part of the Heritrix web crawler (crawler.archive.org). - * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. - * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. - * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -package org.archive.modules.seeds; - -import java.io.BufferedReader; -import java.io.BufferedWriter; -import java.io.IOException; -import java.io.StringReader; -import java.io.StringWriter; -import java.util.LinkedList; - -import junit.framework.TestCase; - -import org.archive.modules.seeds.SeedFileIterator; -import org.archive.net.UURI; - -/** - * Test {@link SeedFileIterator}. - * @author gojomo - * @version $Revision$, $Date$ - */ -public class SeedFileIteratorTest extends TestCase { - public void testHyphenInHost() { - final String seedFileContent = "http://www.examp-le.com/"; - StringWriter sw = new StringWriter(); - StringReader sr = new StringReader(seedFileContent); - UURI seed = - (UURI)(new SeedFileIterator(new BufferedReader(sr), sw)).next(); - assertEquals("Hyphen is problem", seed.toString(), - seedFileContent); - } - - public void testGeneral() throws IOException { - String seedFile = "# comment\n" + // comment - "\n" + // blank line - "www.example.com\n" + // naked host, implied scheme - "www.example.org/foo\n" + // naked host+path, implied scheme - "http://www.example.net\n" + // full HTTP URL - "+http://www.example.us"; // 'directive' (should be ignored) - StringWriter ignored = new StringWriter(); - SeedFileIterator iter = new SeedFileIterator(new BufferedReader( - new StringReader(seedFile)), new BufferedWriter(ignored)); - LinkedList seeds = new LinkedList(); - while (iter.hasNext()) { - UURI n = iter.next(); - if (n instanceof UURI) { - seeds.add(n.getURI()); - } - } - assertTrue("didn't get naked host", seeds - .contains("http://www.example.com/")); - assertTrue("didn't get naked host+path", seeds - .contains("http://www.example.org/foo")); - assertTrue("didn't get full http URL", seeds - .contains("http://www.example.net/")); - assertTrue("got wrong number of URLs", seeds.size() == 3); - assertTrue("ignored entry not reported", ignored.toString().indexOf( - "+http://www.example.us") >= 0); - } -} - diff --git a/modules/src/test/java/org/archive/modules/writer/MirrorWriterProcessorTest.java b/modules/src/test/java/org/archive/modules/writer/MirrorWriterProcessorTest.java index fc0b6d85..d529cd7e 100644 --- a/modules/src/test/java/org/archive/modules/writer/MirrorWriterProcessorTest.java +++ b/modules/src/test/java/org/archive/modules/writer/MirrorWriterProcessorTest.java @@ -1,27 +1,20 @@ -/* - * Copyright (C) 2007 Internet Archive. +/* + * This file is part of the Heritrix web crawler (crawler.archive.org). * - * This file is part of the Heritrix web crawler (crawler.archive.org). + * Licensed to the Internet Archive (IA) by one or more individual + * contributors. * - * Heritrix is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * any later version. + * The IA 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 * - * Heritrix is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU Lesser Public License - * along with Heritrix; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * MirrorWriterProcessorTest.java - * - * Created on Jan 31, 2007 - * - * $Id:$ + * 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.archive.modules.writer;