changeset 1160:2ef55acde4c8

more clean license headers.
author robcast
date Mon, 25 Feb 2013 15:20:44 +0100
parents 0fec3e64e95b
children 1246eb4e60e7
files common-bioformats/src/main/java/digilib/image/BioFormatsDocuImage.java common-imagej/src/main/java/digilib/image/ImageJ1DocuImage.java common-jai/src/main/java/digilib/image/JAIDocuImage.java common-jai/src/main/java/digilib/image/JAIImageLoaderDocuImage.java pdf/src/main/java/digilib/pdf/DigilibInfoReader.java pdf/src/main/java/digilib/pdf/PDFFileWorker.java pdf/src/main/java/digilib/pdf/PDFStreamWorker.java pdf/src/main/java/digilib/pdf/PDFTitlePage.java pdf/src/main/java/digilib/servlet/PDFCache.java pdf/src/main/java/digilib/servlet/PDFRequest.java text/src/main/java/digilib/servlet/Texter.java
diffstat 11 files changed, 255 insertions(+), 61 deletions(-) [+]
line wrap: on
line diff
--- a/common-bioformats/src/main/java/digilib/image/BioFormatsDocuImage.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/common-bioformats/src/main/java/digilib/image/BioFormatsDocuImage.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,7 +1,26 @@
-/**
+package digilib.image;
+
+/*
+ * #%L
+ * DocuImage implementation using Bioformats image library.
+ * %%
+ * Copyright (C) 2012 - 2013 Robert Casties (robcast@berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
  * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
  */
-package digilib.image;
 
 import java.awt.RenderingHints;
 import java.awt.geom.AffineTransform;
--- a/common-imagej/src/main/java/digilib/image/ImageJ1DocuImage.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/common-imagej/src/main/java/digilib/image/ImageJ1DocuImage.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,7 +1,26 @@
-/**
+package digilib.image;
+
+/*
+ * #%L
+ * Implementation of DocuImage using ImageJ version 1.
+ * %%
+ * Copyright (C) 2012 - 2013 Robert Casties (robcast@berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
  * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
  */
-package digilib.image;
 
 import ij.IJ;
 import ij.ImagePlus;
--- a/common-jai/src/main/java/digilib/image/JAIDocuImage.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/common-jai/src/main/java/digilib/image/JAIDocuImage.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,25 +1,27 @@
-/* JAIDocuImage -- Image class implementation using JAI (Java Advanced Imaging)
-
- Digital Image Library servlet components
-
- Copyright (C) 2001, 2002, 2003 Robert Casties (robcast@mail.berlios.de)
+package digilib.image;
 
- This program is free software; you can redistribute  it and/or modify it
- under  the terms of  the GNU General  Public License as published by the
- Free Software Foundation;  either version 2 of the  License, or (at your
- option) any later version.
- 
- Please read license.txt for the full details. A copy of the GPL
- may be found at http://www.gnu.org/copyleft/lgpl.html
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
+/*
+ * #%L
+ * JAIDocuImage -- Image class implementation using JAI (Java Advanced Imaging)
+ * %%
+ * Copyright (C) 2001 - 2013 Robert Casties (robcast@mail.berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
  */
 
-package digilib.image;
-
 import java.awt.Rectangle;
 import java.awt.RenderingHints;
 import java.awt.image.RenderedImage;
@@ -59,9 +61,12 @@
 	protected Interpolation interpol = null;
 
 	/*
-	 * static { // we could set our own tile cache size here TileCache tc =
+	 * static { 
+	 * // we could set our own tile cache size here 
+	 * TileCache tc =
 	 * JAI.createTileCache(100*1024*1024);
-	 * JAI.getDefaultInstance().setTileCache(tc); }
+	 * JAI.getDefaultInstance().setTileCache(tc); 
+	 * }
 	 */
 
 	public boolean isSubimageSupported() {
--- a/common-jai/src/main/java/digilib/image/JAIImageLoaderDocuImage.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/common-jai/src/main/java/digilib/image/JAIImageLoaderDocuImage.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,24 +1,26 @@
-/* JAIImageLoaderDocuImage -- Image class implementation using JAI's ImageLoader Plugin
-
-  Digital Image Library servlet components
-
-  Copyright (C) 2002, 2003 Robert Casties (robcast@mail.berlios.de)
+package digilib.image;
 
-  This program is free software; you can redistribute  it and/or modify it
-  under  the terms of  the GNU General  Public License as published by the
-  Free Software Foundation;  either version 2 of the  License, or (at your
-  option) any later version.
-   
-  Please read license.txt for the full details. A copy of the GPL
-  may be found at http://www.gnu.org/copyleft/lgpl.html
-
-  You should have received a copy of the GNU General Public License
-  along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-*/
-
-package digilib.image;
+/*
+ * #%L
+ * JAIImageLoaderDocuImage -- Image class implementation using JAI's ImageLoader Plugin
+ * %%
+ * Copyright (C) 2002 - 2013 Robert Casties (robcast@mail.berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
 
 import java.awt.Image;
 import java.awt.Rectangle;
--- a/pdf/src/main/java/digilib/pdf/DigilibInfoReader.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/pdf/src/main/java/digilib/pdf/DigilibInfoReader.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,5 +1,31 @@
 package digilib.pdf;
 
+/*
+ * #%L
+ * DigilibInfoReader
+ * 
+ * A class for reading the information from info.xml files used in digilib image directories.
+ * 
+ * %%
+ * Copyright (C) 2009 - 2013 Christopher Mielack,
+ *                           Robert Casties (robcast@berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
 /** DigilibInfoReader 
  * A class for reading the information from info.xml files used in digilib image directories.
  *
--- a/pdf/src/main/java/digilib/pdf/PDFFileWorker.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/pdf/src/main/java/digilib/pdf/PDFFileWorker.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,7 +1,27 @@
-/**
+package digilib.pdf;
+
+/*
+ * #%L
+ * PDF Worker that writes in a file.
+ * %%
+ * Copyright (C) 2009 - 2013 Christopher Mielack,
+ *                           Robert Casties (robcast@berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
  * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
  */
-package digilib.pdf;
 
 import java.io.File;
 import java.io.FileNotFoundException;
--- a/pdf/src/main/java/digilib/pdf/PDFStreamWorker.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/pdf/src/main/java/digilib/pdf/PDFStreamWorker.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,5 +1,28 @@
 package digilib.pdf;
 
+/*
+ * #%L
+ * PDF worker that creates a PDF document in an OutputStream.
+ * %%
+ * Copyright (C) 2009 - 2013 Christopher Mielack,
+ *                           Robert Casties (robcast@berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
 import java.io.IOException;
 import java.io.OutputStream;
 import java.util.concurrent.Callable;
--- a/pdf/src/main/java/digilib/pdf/PDFTitlePage.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/pdf/src/main/java/digilib/pdf/PDFTitlePage.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,5 +1,28 @@
 package digilib.pdf;
 
+/*
+ * #%L
+ * A class for the generation of title pages for the generated pdf documents.
+ * %%
+ * Copyright (C) 2009 - 2013 Christopher Mielack,
+ *                           Robert Casties (robcast@berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
 import java.io.File;
 import java.io.IOException;
 import java.net.MalformedURLException;
--- a/pdf/src/main/java/digilib/servlet/PDFCache.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/pdf/src/main/java/digilib/servlet/PDFCache.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,5 +1,28 @@
 package digilib.servlet;
 
+/*
+ * #%L
+ * A Servlet with a disk cache serving pdf documents made from digilib images.  
+ * %%
+ * Copyright (C) 2009 - 2013 Christopher Mielack,
+ *                           Robert Casties (robcast@berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
 import java.io.File;
 import java.io.FileNotFoundException;
 import java.io.IOException;
--- a/pdf/src/main/java/digilib/servlet/PDFRequest.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/pdf/src/main/java/digilib/servlet/PDFRequest.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,5 +1,29 @@
 package digilib.servlet;
 
+/*
+ * #%L
+ * A container class for storing a set of instruction parameters 
+ * used for content generator classes like MakePDF.  
+ * %%
+ * Copyright (C) 2009 - 2013 Christopher Mielack,
+ *                           Robert Casties (robcast@berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
 import java.io.UnsupportedEncodingException;
 import java.net.URLEncoder;
 
--- a/text/src/main/java/digilib/servlet/Texter.java	Mon Feb 25 11:36:31 2013 +0100
+++ b/text/src/main/java/digilib/servlet/Texter.java	Mon Feb 25 15:20:44 2013 +0100
@@ -1,21 +1,31 @@
-/* Texter.java -- Servlet for displaying text  
- * Digital Image Library servlet components  
- * Copyright (C) 2003 Robert Casties (robcast@mail.berlios.de)
- *  
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.  Please read license.txt for the full details. A copy of
- * the GPL may be found at http://www.gnu.org/copyleft/lgpl.html  
- * You should have received a copy of the GNU General Public License along with this
- * program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place, Suite 330, Boston, MA 02111-1307 USA  
+package digilib.servlet;
+
+/*
+ * #%L
+ * 
+ * Texter.java -- Servlet for displaying text
  * 
+ * Digital Image Library servlet components
+ * %%
+ * Copyright (C) 2003 - 2013 Robert Casties (robcast@mail.berlios.de)
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as 
+ * published by the Free Software Foundation, either version 3 of the 
+ * License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Lesser Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Lesser Public 
+ * License along with this program.  If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
  * Created on 15.09.2003 by casties  
  */
 
-package digilib.servlet;
-
 import java.io.IOException;
 
 import javax.servlet.ServletConfig;