public class PortionFactory extends java.lang.Object implements IPortionFactory
Allows to create test portions
| Constructor and Description |
|---|
PortionFactory() |
| Modifier and Type | Method and Description |
|---|---|
IPortion |
createPortion()
Creates an empty text portion.
|
IPortion |
createPortion(IPortion portion)
Creates a portion with the using of a specified portion data.
|
IPortion |
createPortion(java.lang.String str)
Creates a text portion from specified string.
|
public final IPortion createPortion()
Creates an empty text portion.
createPortion in interface IPortionFactorypublic final IPortion createPortion(java.lang.String str)
Creates a text portion from specified string.
createPortion in interface IPortionFactorystr - String.public final IPortion createPortion(IPortion portion)
Creates a portion with the using of a specified portion data.
createPortion in interface IPortionFactoryportion - A portion to use.Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.