removed '@version $Id:$' tags (all were in javadoc comments)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@780832 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e939bb7d88
commit
e6149cca3a
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -16,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.contrib.poibrowser;
|
package org.apache.poi.contrib.poibrowser;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
@ -32,8 +30,6 @@ import org.apache.poi.hpsf.ClassID;
|
|||||||
* data.</p>
|
* data.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de) - with portions from Tomcat
|
* @author Rainer Klute (klute@rainer-klute.de) - with portions from Tomcat
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-01-24
|
|
||||||
*/
|
*/
|
||||||
public class Codec
|
public class Codec
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -16,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.contrib.poibrowser;
|
package org.apache.poi.contrib.poibrowser;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
@ -26,10 +24,6 @@ import org.apache.poi.poifs.filesystem.*;
|
|||||||
* <p>Describes the most important (whatever that is) features of a
|
* <p>Describes the most important (whatever that is) features of a
|
||||||
* {@link POIFSDocument}.</p>
|
* {@link POIFSDocument}.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-05
|
|
||||||
* *
|
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
*/
|
*/
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -16,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.contrib.poibrowser;
|
package org.apache.poi.contrib.poibrowser;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
@ -30,8 +28,6 @@ import javax.swing.tree.*;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-05
|
|
||||||
*/
|
*/
|
||||||
public class DocumentDescriptorRenderer extends DefaultTreeCellRenderer
|
public class DocumentDescriptorRenderer extends DefaultTreeCellRenderer
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -16,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.contrib.poibrowser;
|
package org.apache.poi.contrib.poibrowser;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
@ -38,8 +36,6 @@ import java.util.*;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-01-22
|
|
||||||
*/
|
*/
|
||||||
public class ExtendableTreeCellRenderer implements TreeCellRenderer
|
public class ExtendableTreeCellRenderer implements TreeCellRenderer
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -16,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.contrib.poibrowser;
|
package org.apache.poi.contrib.poibrowser;
|
||||||
|
|
||||||
import java.awt.event.WindowAdapter;
|
import java.awt.event.WindowAdapter;
|
||||||
@ -42,8 +40,6 @@ import org.apache.poi.poifs.eventfilesystem.POIFSReader;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-01-19
|
|
||||||
*/
|
*/
|
||||||
public class POIBrowser extends JFrame
|
public class POIBrowser extends JFrame
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -16,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.contrib.poibrowser;
|
package org.apache.poi.contrib.poibrowser;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -34,8 +32,6 @@ import org.apache.poi.poifs.filesystem.POIFSDocumentPath;
|
|||||||
* stream containing a {@link PropertySet}.</p>
|
* stream containing a {@link PropertySet}.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
* @author Rainer Klute (klute@rainer-klute.de)
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-05
|
|
||||||
*/
|
*/
|
||||||
public class PropertySetDescriptor extends DocumentDescriptor
|
public class PropertySetDescriptor extends DocumentDescriptor
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -16,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.contrib.poibrowser;
|
package org.apache.poi.contrib.poibrowser;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
@ -41,8 +39,6 @@ import org.apache.poi.hpsf.SummaryInformation;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-05
|
|
||||||
*/
|
*/
|
||||||
public class PropertySetDescriptorRenderer extends DocumentDescriptorRenderer
|
public class PropertySetDescriptorRenderer extends DocumentDescriptorRenderer
|
||||||
{
|
{
|
||||||
|
@ -56,8 +56,6 @@ import org.apache.poi.poifs.filesystem.POIFSDocumentPath;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-01-24
|
|
||||||
*/
|
*/
|
||||||
public class TreeReaderListener implements POIFSReaderListener
|
public class TreeReaderListener implements POIFSReaderListener
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -16,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.contrib.poibrowser;
|
package org.apache.poi.contrib.poibrowser;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
@ -28,24 +26,19 @@ import javax.swing.*;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-01-25
|
|
||||||
*/
|
*/
|
||||||
public class Util
|
public class Util {
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Makes a Swing component inverted by swapping its foreground
|
* <p>Makes a Swing component inverted by swapping its foreground
|
||||||
* and background colors. Hint: Depending on your needs it might
|
* and background colors. Hint: Depending on your needs it might
|
||||||
* also be a good idea to call <tt>c.setOpaque(true)</tt>.</p>
|
* also be a good idea to call <tt>c.setOpaque(true)</tt>.</p>
|
||||||
*/
|
*/
|
||||||
public static void invert(final JComponent c)
|
public static void invert(JComponent c) {
|
||||||
{
|
Color invBackground = c.getForeground();
|
||||||
final Color invBackground = c.getForeground();
|
Color invForeground = c.getBackground();
|
||||||
final Color invForeground = c.getBackground();
|
|
||||||
c.setBackground(invBackground);
|
c.setBackground(invBackground);
|
||||||
c.setForeground(invForeground);
|
c.setForeground(invForeground);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,8 +72,6 @@ import org.apache.poi.util.TempFile;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2003-09-19
|
|
||||||
*/
|
*/
|
||||||
public class CopyCompare
|
public class CopyCompare
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.hpsf.examples;
|
package org.apache.poi.hpsf.examples;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
@ -41,8 +40,6 @@ import org.apache.poi.poifs.filesystem.DocumentEntry;
|
|||||||
import org.apache.poi.poifs.filesystem.DocumentInputStream;
|
import org.apache.poi.poifs.filesystem.DocumentInputStream;
|
||||||
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>This is a sample application showing how to easily modify properties in
|
* <p>This is a sample application showing how to easily modify properties in
|
||||||
* the summary information and in the document summary information. The
|
* the summary information and in the document summary information. The
|
||||||
@ -82,8 +79,6 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de">klute@rainer-klute.de</a>
|
* href="mailto:klute@rainer-klute.de">klute@rainer-klute.de</a>
|
||||||
* @since 2006-02-09
|
|
||||||
* @version $Id: TestWrite.java 353637 2005-04-13 16:33:22Z klute $
|
|
||||||
*/
|
*/
|
||||||
public class ModifyDocumentSummaryInformation
|
public class ModifyDocumentSummaryInformation
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -41,8 +40,6 @@ import org.apache.poi.util.HexDump;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2003-02-01
|
|
||||||
*/
|
*/
|
||||||
public class ReadCustomPropertySets
|
public class ReadCustomPropertySets
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -36,8 +35,6 @@ import org.apache.poi.poifs.eventfilesystem.POIFSReaderListener;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2003-02-01
|
|
||||||
*/
|
*/
|
||||||
public class ReadTitle
|
public class ReadTitle
|
||||||
{
|
{
|
||||||
|
@ -84,8 +84,6 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2003-09-01
|
|
||||||
*/
|
*/
|
||||||
public class WriteAuthorAndTitle
|
public class WriteAuthorAndTitle
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -38,8 +37,6 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2003-09-12
|
|
||||||
*/
|
*/
|
||||||
public class WriteTitle
|
public class WriteTitle
|
||||||
{
|
{
|
||||||
|
@ -1,19 +1,20 @@
|
|||||||
/*
|
/* ====================================================================
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
* this work for additional information regarding copyright ownership.
|
this work for additional information regarding copyright ownership.
|
||||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
* (the "License"); you may not use this file except in compliance with
|
(the "License"); you may not use this file except in compliance with
|
||||||
* the License. You may obtain a copy of the License at
|
the License. You may obtain a copy of the License at
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
limitations under the License.
|
||||||
*/
|
==================================================================== */
|
||||||
|
|
||||||
package org.apache.poi.ddf;
|
package org.apache.poi.ddf;
|
||||||
|
|
||||||
import org.apache.poi.util.HexDump;
|
import org.apache.poi.util.HexDump;
|
||||||
@ -23,7 +24,6 @@ import java.io.ByteArrayOutputStream;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Glen Stampoultzis
|
* @author Glen Stampoultzis
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class EscherBitmapBlip extends EscherBlipRecord {
|
public class EscherBitmapBlip extends EscherBlipRecord {
|
||||||
public static final short RECORD_ID_JPEG = (short) 0xF018 + 5;
|
public static final short RECORD_ID_JPEG = (short) 0xF018 + 5;
|
||||||
|
@ -27,8 +27,6 @@ import org.apache.poi.util.HexDump;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class ClassID
|
public class ClassID
|
||||||
{
|
{
|
||||||
|
@ -22,8 +22,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2004-06-20
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class Constants
|
public class Constants
|
||||||
{
|
{
|
||||||
|
@ -47,12 +47,10 @@ import org.apache.poi.hpsf.wellknown.PropertyIDMap;
|
|||||||
* unmodified) or whether one or more properties have been dropped.</p>
|
* unmodified) or whether one or more properties have been dropped.</p>
|
||||||
*
|
*
|
||||||
* <p>This class is not thread-safe; concurrent access to instances of this
|
* <p>This class is not thread-safe; concurrent access to instances of this
|
||||||
* class must be syncronized.</p>
|
* class must be synchronized.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2006-02-09
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class CustomProperties extends HashMap
|
public class CustomProperties extends HashMap
|
||||||
{
|
{
|
||||||
|
@ -18,15 +18,13 @@
|
|||||||
package org.apache.poi.hpsf;
|
package org.apache.poi.hpsf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>This class represents custum properties in the document summary
|
* <p>This class represents custom properties in the document summary
|
||||||
* information stream. The difference to normal properties is that custom
|
* information stream. The difference to normal properties is that custom
|
||||||
* properties have an optional name. If the name is not <code>null</code> it
|
* properties have an optional name. If the name is not <code>null</code> it
|
||||||
* will be maintained in the section's dictionary.</p>
|
* will be maintained in the section's dictionary.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2006-02-09
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class CustomProperty extends MutableProperty
|
public class CustomProperty extends MutableProperty
|
||||||
{
|
{
|
||||||
|
@ -32,8 +32,6 @@ import org.apache.poi.hpsf.wellknown.SectionIDMap;
|
|||||||
* @author Drew Varner (Drew.Varner closeTo sc.edu)
|
* @author Drew Varner (Drew.Varner closeTo sc.edu)
|
||||||
* @author robert_flaherty@hyperion.com
|
* @author robert_flaherty@hyperion.com
|
||||||
* @see SummaryInformation
|
* @see SummaryInformation
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class DocumentSummaryInformation extends SpecialPropertySet
|
public class DocumentSummaryInformation extends SpecialPropertySet
|
||||||
{
|
{
|
||||||
|
@ -24,8 +24,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class HPSFException extends Exception
|
public class HPSFException extends Exception
|
||||||
{
|
{
|
||||||
|
@ -27,8 +27,6 @@ import java.io.PrintWriter;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class HPSFRuntimeException extends RuntimeException
|
public class HPSFRuntimeException extends RuntimeException
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,6 @@ package org.apache.poi.hpsf;
|
|||||||
* thrown.</p>
|
* thrown.</p>
|
||||||
*
|
*
|
||||||
* @author Drew Varner(Drew.Varner atDomain sc.edu)
|
* @author Drew Varner(Drew.Varner atDomain sc.edu)
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-05-26
|
|
||||||
*/
|
*/
|
||||||
public class IllegalPropertySetDataException extends HPSFRuntimeException
|
public class IllegalPropertySetDataException extends HPSFRuntimeException
|
||||||
{
|
{
|
||||||
|
@ -25,8 +25,6 @@ import org.apache.poi.util.HexDump;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2004-06-21
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class IllegalVariantTypeException extends VariantTypeException
|
public class IllegalVariantTypeException extends VariantTypeException
|
||||||
{
|
{
|
||||||
|
@ -23,8 +23,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class MarkUnsupportedException extends HPSFException
|
public class MarkUnsupportedException extends HPSFException
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id: NoSingleSectionException.java 353545 2004-04-09 13:05:39Z glens $
|
|
||||||
* @since 2006-02-08
|
|
||||||
*/
|
*/
|
||||||
public class MissingSectionException extends HPSFRuntimeException
|
public class MissingSectionException extends HPSFRuntimeException
|
||||||
{
|
{
|
||||||
|
@ -28,8 +28,6 @@ import java.io.OutputStream;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2003-08-03
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class MutableProperty extends Property
|
public class MutableProperty extends Property
|
||||||
{
|
{
|
||||||
|
@ -33,8 +33,6 @@ import org.apache.poi.poifs.filesystem.Entry;
|
|||||||
import org.apache.poi.util.LittleEndian;
|
import org.apache.poi.util.LittleEndian;
|
||||||
import org.apache.poi.util.LittleEndianConsts;
|
import org.apache.poi.util.LittleEndianConsts;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Adds writing support to the {@link PropertySet} class.</p>
|
* <p>Adds writing support to the {@link PropertySet} class.</p>
|
||||||
*
|
*
|
||||||
@ -43,8 +41,6 @@ import org.apache.poi.util.LittleEndianConsts;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2003-02-19
|
|
||||||
*/
|
*/
|
||||||
public class MutablePropertySet extends PropertySet
|
public class MutablePropertySet extends PropertySet
|
||||||
{
|
{
|
||||||
|
@ -37,9 +37,6 @@ import org.apache.poi.util.LittleEndian;
|
|||||||
*
|
*
|
||||||
* <p>Please be aware that this class' functionality will be merged into the
|
* <p>Please be aware that this class' functionality will be merged into the
|
||||||
* {@link Section} class at a later time, so the API will change.</p>
|
* {@link Section} class at a later time, so the API will change.</p>
|
||||||
*
|
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-20
|
|
||||||
*/
|
*/
|
||||||
public class MutableSection extends Section
|
public class MutableSection extends Section
|
||||||
{
|
{
|
||||||
|
@ -25,8 +25,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-09-03
|
|
||||||
*/
|
*/
|
||||||
public class NoFormatIDException extends HPSFRuntimeException
|
public class NoFormatIDException extends HPSFRuntimeException
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -27,8 +26,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class NoPropertySetStreamException extends HPSFException
|
public class NoPropertySetStreamException extends HPSFException
|
||||||
{
|
{
|
||||||
|
@ -28,8 +28,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class NoSingleSectionException extends HPSFRuntimeException
|
public class NoSingleSectionException extends HPSFRuntimeException
|
||||||
{
|
{
|
||||||
|
@ -56,8 +56,6 @@ import org.apache.poi.util.POILogger;
|
|||||||
* @author Drew Varner (Drew.Varner InAndAround sc.edu)
|
* @author Drew Varner (Drew.Varner InAndAround sc.edu)
|
||||||
* @see Section
|
* @see Section
|
||||||
* @see Variant
|
* @see Variant
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class Property
|
public class Property
|
||||||
{
|
{
|
||||||
|
@ -57,8 +57,6 @@ import org.apache.poi.util.LittleEndian;
|
|||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @author Drew Varner (Drew.Varner hanginIn sc.edu)
|
* @author Drew Varner (Drew.Varner hanginIn sc.edu)
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class PropertySet
|
public class PropertySet
|
||||||
{
|
{
|
||||||
|
@ -30,8 +30,6 @@ import org.apache.poi.hpsf.wellknown.SectionIDMap;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class PropertySetFactory
|
public class PropertySetFactory
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2003-08-08
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class ReadingNotSupportedException
|
public class ReadingNotSupportedException
|
||||||
extends UnsupportedVariantTypeException
|
extends UnsupportedVariantTypeException
|
||||||
|
@ -34,8 +34,6 @@ import org.apache.poi.util.LittleEndian;
|
|||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @author Drew Varner (Drew.Varner allUpIn sc.edu)
|
* @author Drew Varner (Drew.Varner allUpIn sc.edu)
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class Section
|
public class Section
|
||||||
{
|
{
|
||||||
|
@ -53,8 +53,6 @@ import org.apache.poi.poifs.filesystem.DirectoryEntry;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public abstract class SpecialPropertySet extends MutablePropertySet
|
public abstract class SpecialPropertySet extends MutablePropertySet
|
||||||
{
|
{
|
||||||
|
@ -28,8 +28,6 @@ import org.apache.poi.hpsf.wellknown.PropertyIDMap;
|
|||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @see DocumentSummaryInformation
|
* @see DocumentSummaryInformation
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class SummaryInformation extends SpecialPropertySet
|
public class SummaryInformation extends SpecialPropertySet
|
||||||
{
|
{
|
||||||
|
@ -24,8 +24,6 @@ import org.apache.poi.util.LittleEndian;
|
|||||||
*
|
*
|
||||||
* @author Drew Varner (Drew.Varner inOrAround sc.edu)
|
* @author Drew Varner (Drew.Varner inOrAround sc.edu)
|
||||||
* @see SummaryInformation#getThumbnail()
|
* @see SummaryInformation#getThumbnail()
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-04-29
|
|
||||||
*/
|
*/
|
||||||
public class Thumbnail
|
public class Thumbnail
|
||||||
{
|
{
|
||||||
|
@ -27,8 +27,6 @@ import org.apache.poi.util.LittleEndian;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2003-02-20
|
|
||||||
*/
|
*/
|
||||||
public class TypeWriter
|
public class TypeWriter
|
||||||
{
|
{
|
||||||
|
@ -27,8 +27,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class UnexpectedPropertySetTypeException extends HPSFException
|
public class UnexpectedPropertySetTypeException extends HPSFException
|
||||||
{
|
{
|
||||||
|
@ -28,8 +28,6 @@ import org.apache.poi.util.HexDump;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2003-08-05
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public abstract class UnsupportedVariantTypeException
|
public abstract class UnsupportedVariantTypeException
|
||||||
extends VariantTypeException
|
extends VariantTypeException
|
||||||
|
@ -27,8 +27,6 @@ import java.util.Date;
|
|||||||
* <p>Provides various static utility methods.</p>
|
* <p>Provides various static utility methods.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
* @author Rainer Klute (klute@rainer-klute.de)
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class Util
|
public class Util
|
||||||
{
|
{
|
||||||
|
@ -34,8 +34,6 @@ import java.util.Map;
|
|||||||
* <strong>[S]</strong> - may appear in a Safe Array.</p>
|
* <strong>[S]</strong> - may appear in a Safe Array.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
* @author Rainer Klute (klute@rainer-klute.de)
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class Variant
|
public class Variant
|
||||||
{
|
{
|
||||||
|
@ -45,8 +45,6 @@ import org.apache.poi.util.LittleEndianConsts;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2003-08-08
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class VariantSupport extends Variant
|
public class VariantSupport extends Variant
|
||||||
{
|
{
|
||||||
|
@ -23,8 +23,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2004-06-21
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public abstract class VariantTypeException extends HPSFException
|
public abstract class VariantTypeException extends HPSFException
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,6 @@ package org.apache.poi.hpsf;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2003-08-08
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class WritingNotSupportedException
|
public class WritingNotSupportedException
|
||||||
extends UnsupportedVariantTypeException
|
extends UnsupportedVariantTypeException
|
||||||
|
@ -33,11 +33,8 @@ import java.util.Map;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class PropertyIDMap extends HashMap
|
public class PropertyIDMap extends HashMap {
|
||||||
{
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following definitions are for property IDs in the first
|
* The following definitions are for property IDs in the first
|
||||||
|
@ -35,11 +35,8 @@ import java.util.HashMap;
|
|||||||
* property IDs in sections with the specified section format ID.</p>
|
* property IDs in sections with the specified section format ID.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
* @author Rainer Klute (klute@rainer-klute.de)
|
||||||
* @version $Id$
|
|
||||||
* @since 2002-02-09
|
|
||||||
*/
|
*/
|
||||||
public class SectionIDMap extends HashMap
|
public class SectionIDMap extends HashMap {
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>The SummaryInformation's section's format ID.</p>
|
* <p>The SummaryInformation's section's format ID.</p>
|
||||||
|
@ -21,7 +21,6 @@ package org.apache.poi.util;
|
|||||||
* Utility classes for dealing with arrays.
|
* Utility classes for dealing with arrays.
|
||||||
*
|
*
|
||||||
* @author Glen Stampoultzis
|
* @author Glen Stampoultzis
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class ArrayUtil
|
public class ArrayUtil
|
||||||
{
|
{
|
||||||
|
@ -28,19 +28,14 @@ import java.util.logging.Logger;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2006-02-11
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class AllDataFilesTester
|
public class AllDataFilesTester {
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Interface specifying how to run a test on a single file.</p>
|
* <p>Interface specifying how to run a test on a single file.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2006-02-11
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public interface TestTask
|
public interface TestTask
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -16,19 +15,14 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.hpsf.basic;
|
package org.apache.poi.hpsf.basic;
|
||||||
|
|
||||||
import org.apache.poi.poifs.filesystem.POIFSDocumentPath;
|
import org.apache.poi.poifs.filesystem.POIFSDocumentPath;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>A POI file just for testing.</p>
|
* <p>A POI file just for testing.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
* @author Rainer Klute (klute@rainer-klute.de)
|
||||||
* @since 2002-07-20
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class POIFile
|
public class POIFile
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.hpsf.basic;
|
package org.apache.poi.hpsf.basic;
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
@ -39,14 +38,10 @@ import org.apache.poi.hpsf.Section;
|
|||||||
import org.apache.poi.hpsf.SummaryInformation;
|
import org.apache.poi.hpsf.SummaryInformation;
|
||||||
import org.apache.poi.hpsf.wellknown.SectionIDMap;
|
import org.apache.poi.hpsf.wellknown.SectionIDMap;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Tests the basic HPSF functionality.</p>
|
* <p>Tests the basic HPSF functionality.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
* @author Rainer Klute (klute@rainer-klute.de)
|
||||||
* @since 2002-07-20
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class TestBasic extends TestCase
|
public class TestBasic extends TestCase
|
||||||
{
|
{
|
||||||
|
@ -42,8 +42,6 @@ import org.apache.poi.hpsf.Variant;
|
|||||||
*
|
*
|
||||||
* @author Rainer Klute <a
|
* @author Rainer Klute <a
|
||||||
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
|
||||||
* @since 2003-07-25
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class TestEmptyProperties extends TestCase
|
public class TestEmptyProperties extends TestCase
|
||||||
{
|
{
|
||||||
|
@ -45,8 +45,6 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
|||||||
* This class tests reading and writing of meta data. No actual document is created. All information
|
* This class tests reading and writing of meta data. No actual document is created. All information
|
||||||
* is stored in a virtal document in a ByteArrayOutputStream
|
* is stored in a virtal document in a ByteArrayOutputStream
|
||||||
* @author Matthias G\u00fcnter
|
* @author Matthias G\u00fcnter
|
||||||
* @since 2006-03-03
|
|
||||||
* @version $Id: TestEmptyProperties.java 353563 2004-06-22 16:16:33Z klute $
|
|
||||||
*/
|
*/
|
||||||
public class TestMetaDataIPI extends TestCase{
|
public class TestMetaDataIPI extends TestCase{
|
||||||
|
|
||||||
@ -56,13 +54,7 @@ public class TestMetaDataIPI extends TestCase{
|
|||||||
DocumentSummaryInformation dsi=null;
|
DocumentSummaryInformation dsi=null;
|
||||||
SummaryInformation si=null;
|
SummaryInformation si=null;
|
||||||
|
|
||||||
/**
|
|
||||||
* Standard constructor
|
|
||||||
* @param s
|
|
||||||
*/
|
|
||||||
public TestMetaDataIPI(String s ){
|
|
||||||
super(s);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup is used to get the document ready. Gets the DocumentSummaryInformation and the
|
* Setup is used to get the document ready. Gets the DocumentSummaryInformation and the
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.hpsf.basic;
|
package org.apache.poi.hpsf.basic;
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
@ -27,31 +26,14 @@ import junit.framework.TestCase;
|
|||||||
|
|
||||||
import org.apache.poi.hpsf.PropertySetFactory;
|
import org.apache.poi.hpsf.PropertySetFactory;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Tests some HPSF functionality by reading all property sets from all files
|
* <p>Tests some HPSF functionality by reading all property sets from all files
|
||||||
* in the "data" directory. If you want to ensure HPSF can deal with a certain
|
* in the "data" directory. If you want to ensure HPSF can deal with a certain
|
||||||
* OLE2 file, just add it to the "data" directory and run this test case.</p>
|
* OLE2 file, just add it to the "data" directory and run this test case.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
* @author Rainer Klute (klute@rainer-klute.de)
|
||||||
* @since 2008-02-08
|
|
||||||
* @version $Id: TestBasic.java 489730 2006-12-22 19:18:16Z bayard $
|
|
||||||
*/
|
*/
|
||||||
public class TestReadAllFiles extends TestCase
|
public class TestReadAllFiles extends TestCase {
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Test case constructor.</p>
|
|
||||||
*
|
|
||||||
* @param name The test case's name.
|
|
||||||
*/
|
|
||||||
public TestReadAllFiles(final String name)
|
|
||||||
{
|
|
||||||
super(name);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>This test methods reads all property set streams from all POI
|
* <p>This test methods reads all property set streams from all POI
|
||||||
@ -90,21 +72,4 @@ public class TestReadAllFiles extends TestCase
|
|||||||
fail(s);
|
fail(s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Runs the test cases stand-alone.</p>
|
|
||||||
*
|
|
||||||
* @param args Command-line arguments (ignored)
|
|
||||||
*
|
|
||||||
* @exception Throwable if any sort of exception or error occurs
|
|
||||||
*/
|
|
||||||
public static void main(final String[] args) throws Throwable
|
|
||||||
{
|
|
||||||
System.setProperty("HPSF.testdata.path",
|
|
||||||
"./src/testcases/org/apache/poi/hpsf/data");
|
|
||||||
junit.textui.TestRunner.run(TestReadAllFiles.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.hpsf.basic;
|
package org.apache.poi.hpsf.basic;
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
@ -34,18 +33,13 @@ import org.apache.poi.hpsf.PropertySetFactory;
|
|||||||
import org.apache.poi.hpsf.Section;
|
import org.apache.poi.hpsf.Section;
|
||||||
import org.apache.poi.hpsf.SummaryInformation;
|
import org.apache.poi.hpsf.SummaryInformation;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Tests whether Unicode string can be read from a
|
* <p>Tests whether Unicode string can be read from a
|
||||||
* DocumentSummaryInformation.</p>
|
* DocumentSummaryInformation.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
* @author Rainer Klute (klute@rainer-klute.de)
|
||||||
* @since 2002-12-09
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class TestUnicode extends TestCase
|
public class TestUnicode extends TestCase {
|
||||||
{
|
|
||||||
|
|
||||||
static final String POI_FS = "TestUnicode.xls";
|
static final String POI_FS = "TestUnicode.xls";
|
||||||
static final String[] POI_FILES = new String[]
|
static final String[] POI_FILES = new String[]
|
||||||
@ -56,27 +50,13 @@ public class TestUnicode extends TestCase
|
|||||||
POIFile[] poiFiles;
|
POIFile[] poiFiles;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Constructor</p>
|
|
||||||
*
|
|
||||||
* @param name the test case's name
|
|
||||||
*/
|
|
||||||
public TestUnicode(final String name)
|
|
||||||
{
|
|
||||||
super(name);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Read a the test file from the "data" directory.</p>
|
* <p>Read a the test file from the "data" directory.</p>
|
||||||
*
|
*
|
||||||
* @exception FileNotFoundException if the file to be read does not exist.
|
* @exception FileNotFoundException if the file to be read does not exist.
|
||||||
* @exception IOException if any other I/O exception occurs
|
* @exception IOException if any other I/O exception occurs
|
||||||
*/
|
*/
|
||||||
protected void setUp() throws FileNotFoundException, IOException
|
protected void setUp() {
|
||||||
{
|
|
||||||
final File dataDir =
|
final File dataDir =
|
||||||
new File(System.getProperty("HPSF.testdata.path"));
|
new File(System.getProperty("HPSF.testdata.path"));
|
||||||
data = new File(dataDir, POI_FS);
|
data = new File(dataDir, POI_FS);
|
||||||
@ -112,19 +92,4 @@ public class TestUnicode extends TestCase
|
|||||||
Assert.assertEquals(s.getProperty(5),
|
Assert.assertEquals(s.getProperty(5),
|
||||||
"Petrovitsch, Wilhelm");
|
"Petrovitsch, Wilhelm");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Runs the test cases stand-alone.</p>
|
|
||||||
*
|
|
||||||
* @param args Command-line arguments.
|
|
||||||
*/
|
|
||||||
public static void main(final String[] args)
|
|
||||||
{
|
|
||||||
System.setProperty("HPSF.testdata.path",
|
|
||||||
"./src/testcases/org/apache/poi/hpsf/data");
|
|
||||||
junit.textui.TestRunner.run(TestUnicode.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -64,14 +64,10 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
|||||||
import org.apache.poi.util.LittleEndian;
|
import org.apache.poi.util.LittleEndian;
|
||||||
import org.apache.poi.util.TempFile;
|
import org.apache.poi.util.TempFile;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Tests HPSF's writing functionality.</p>
|
* <p>Tests HPSF's writing functionality.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
* @author Rainer Klute (klute@rainer-klute.de)
|
||||||
* @since 2003-02-07
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class TestWrite extends TestCase
|
public class TestWrite extends TestCase
|
||||||
{
|
{
|
||||||
@ -96,19 +92,6 @@ public class TestWrite extends TestCase
|
|||||||
POIFile[] poiFiles;
|
POIFile[] poiFiles;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Constructor</p>
|
|
||||||
*
|
|
||||||
* @param name the test case's name
|
|
||||||
*/
|
|
||||||
public TestWrite(final String name)
|
|
||||||
{
|
|
||||||
super(name);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see TestCase#setUp()
|
* @see TestCase#setUp()
|
||||||
*/
|
*/
|
||||||
@ -923,20 +906,4 @@ public class TestWrite extends TestCase
|
|||||||
final Charset charSet = Charset.forName(charSetName);
|
final Charset charSet = Charset.forName(charSetName);
|
||||||
return charSet.newEncoder().canEncode('\u00e4');
|
return charSet.newEncoder().canEncode('\u00e4');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Runs the test cases stand-alone.</p>
|
|
||||||
*
|
|
||||||
* @param args The command-line parameters.
|
|
||||||
* @throws Throwable if anything goes wrong.
|
|
||||||
*/
|
|
||||||
public static void main(final String[] args) throws Throwable
|
|
||||||
{
|
|
||||||
System.setProperty("HPSF.testdata.path",
|
|
||||||
"./src/testcases/org/apache/poi/hpsf/data");
|
|
||||||
junit.textui.TestRunner.run(TestWrite.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -54,33 +54,17 @@ import org.apache.poi.poifs.filesystem.DocumentEntry;
|
|||||||
import org.apache.poi.poifs.filesystem.DocumentInputStream;
|
import org.apache.poi.poifs.filesystem.DocumentInputStream;
|
||||||
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Tests HPSF's high-level writing functionality for the well-known property
|
* <p>Tests HPSF's high-level writing functionality for the well-known property
|
||||||
* set "SummaryInformation" and "DocumentSummaryInformation".</p>
|
* set "SummaryInformation" and "DocumentSummaryInformation".</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute
|
* @author Rainer Klute
|
||||||
* <a href="mailto:klute@rainer-klute.de">klute@rainer-klute.de</a>
|
* <a href="mailto:klute@rainer-klute.de">klute@rainer-klute.de</a>
|
||||||
* @since 2006-02-01
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class TestWriteWellKnown extends TestCase
|
public class TestWriteWellKnown extends TestCase {
|
||||||
{
|
|
||||||
|
|
||||||
private static final String POI_FS = "TestWriteWellKnown.doc";
|
private static final String POI_FS = "TestWriteWellKnown.doc";
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Constructor</p>
|
|
||||||
*
|
|
||||||
* @param name the test case's name
|
|
||||||
*/
|
|
||||||
public TestWriteWellKnown(final String name)
|
|
||||||
{
|
|
||||||
super(name);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see TestCase#setUp()
|
* @see TestCase#setUp()
|
||||||
@ -744,20 +728,4 @@ public class TestWriteWellKnown extends TestCase
|
|||||||
assertEquals(1, cps.size());
|
assertEquals(1, cps.size());
|
||||||
assertFalse(cps.isPure());
|
assertFalse(cps.isPure());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Runs the test cases stand-alone.</p>
|
|
||||||
*
|
|
||||||
* @param args The command-line parameters.
|
|
||||||
* @throws Throwable if anything goes wrong.
|
|
||||||
*/
|
|
||||||
public static void main(final String[] args) throws Throwable
|
|
||||||
{
|
|
||||||
System.setProperty("HPSF.testdata.path",
|
|
||||||
"./src/testcases/org/apache/poi/hpsf/data");
|
|
||||||
junit.textui.TestRunner.run(TestWriteWellKnown.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.hpsf.basic;
|
package org.apache.poi.hpsf.basic;
|
||||||
|
|
||||||
import java.io.ByteArrayOutputStream;
|
import java.io.ByteArrayOutputStream;
|
||||||
@ -45,11 +44,8 @@ import org.apache.poi.poifs.eventfilesystem.POIFSReaderListener;
|
|||||||
* <p>Static utility methods needed by the HPSF test cases.</p>
|
* <p>Static utility methods needed by the HPSF test cases.</p>
|
||||||
*
|
*
|
||||||
* @author Rainer Klute (klute@rainer-klute.de)
|
* @author Rainer Klute (klute@rainer-klute.de)
|
||||||
* @since 2002-07-20
|
|
||||||
* @version $Id$
|
|
||||||
*/
|
*/
|
||||||
public class Util
|
final class Util {
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Reads bytes from an input stream and writes them to an
|
* <p>Reads bytes from an input stream and writes them to an
|
||||||
@ -261,7 +257,4 @@ public class Util
|
|||||||
System.out.println("Current directory: " +
|
System.out.println("Current directory: " +
|
||||||
System.getProperty("user.dir"));
|
System.getProperty("user.dir"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user