remove deprecated constructor for @Internal PAPBinTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
552ccb58e4
commit
46a36df416
@ -50,24 +50,12 @@ public class PAPBinTable
|
|||||||
private static final POILogger logger = POILogFactory
|
private static final POILogger logger = POILogFactory
|
||||||
.getLogger( PAPBinTable.class );
|
.getLogger( PAPBinTable.class );
|
||||||
|
|
||||||
protected ArrayList<PAPX> _paragraphs = new ArrayList<PAPX>();
|
protected final ArrayList<PAPX> _paragraphs = new ArrayList<PAPX>();
|
||||||
|
|
||||||
public PAPBinTable()
|
public PAPBinTable()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Use
|
|
||||||
* {@link #PAPBinTable(byte[], byte[], byte[], int, int, CharIndexTranslator)}
|
|
||||||
* instead
|
|
||||||
*/
|
|
||||||
public PAPBinTable( byte[] documentStream, byte[] tableStream,
|
|
||||||
byte[] dataStream, int offset, int size, int fcMin,
|
|
||||||
TextPieceTable tpt )
|
|
||||||
{
|
|
||||||
this( documentStream, tableStream, dataStream, offset, size, tpt );
|
|
||||||
}
|
|
||||||
|
|
||||||
public PAPBinTable( byte[] documentStream, byte[] tableStream,
|
public PAPBinTable( byte[] documentStream, byte[] tableStream,
|
||||||
byte[] dataStream, int offset, int size,
|
byte[] dataStream, int offset, int size,
|
||||||
CharIndexTranslator charIndexTranslator )
|
CharIndexTranslator charIndexTranslator )
|
||||||
@ -83,8 +71,7 @@ public class PAPBinTable
|
|||||||
GenericPropertyNode node = binTable.getProperty( x );
|
GenericPropertyNode node = binTable.getProperty( x );
|
||||||
|
|
||||||
int pageNum = LittleEndian.getInt( node.getBytes() );
|
int pageNum = LittleEndian.getInt( node.getBytes() );
|
||||||
int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE
|
int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum;
|
||||||
* pageNum;
|
|
||||||
|
|
||||||
PAPFormattedDiskPage pfkp = new PAPFormattedDiskPage(
|
PAPFormattedDiskPage pfkp = new PAPFormattedDiskPage(
|
||||||
documentStream, dataStream, pageOffset,
|
documentStream, dataStream, pageOffset,
|
||||||
|
Loading…
Reference in New Issue
Block a user