Turned of deserialization of escher records by default.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353609 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dd6a35b1bd
commit
72f6b11cf6
@ -614,22 +614,22 @@ public class BiffViewer {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method main with 1 argument just run straight biffview against given
|
* Method main with 1 argument just run straight biffview against given
|
||||||
* file<P>
|
* file<P>
|
||||||
*
|
*
|
||||||
* with 2 arguments where the second argument is "on" - run biffviewer<P>
|
* with 2 arguments where the second argument is "on" - run biffviewer<P>
|
||||||
*
|
*
|
||||||
* with hex dumps of records <P>
|
* with hex dumps of records <P>
|
||||||
*
|
*
|
||||||
* with 2 arguments where the second argument is "bfd" just run a big fat
|
* with 2 arguments where the second argument is "bfd" just run a big fat
|
||||||
* hex dump of the file...don't worry about biffviewing it at all
|
* hex dump of the file...don't worry about biffviewing it at all
|
||||||
|
* <p>
|
||||||
|
* Define the system property <code>poi.deserialize.escher</code> to turn on
|
||||||
|
* deserialization of escher records.
|
||||||
*
|
*
|
||||||
*@param args
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
try {
|
try {
|
||||||
System.setProperty("poi.deserialize.escher", "true");
|
|
||||||
BiffViewer viewer = new BiffViewer(args);
|
BiffViewer viewer = new BiffViewer(args);
|
||||||
|
|
||||||
if ((args.length > 1) && args[1].equals("on")) {
|
if ((args.length > 1) && args[1].equals("on")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user