Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class OpenOptions

java.lang.Object
  extended by com.aspose.cells.OpenOptions

public class OpenOptions
extends java.lang.Object

Provides various options that control how a workbook is opened from template file.


Method Summary
 java.lang.String getEncoding()
          Gets the name of the character encoding being used.
 java.lang.String getHtmlBasePath()
          Gets the physical path where the html file is saved.
 void setEncoding(java.lang.String encoding)
          Sets the name of the character encoding being used.
 void setHtmlBasePath(java.lang.String value)
          Sets the physical path where the html file is saved.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHtmlBasePath

public java.lang.String getHtmlBasePath()
Gets the physical path where the html file is saved. Default is null.

Returns:
the physical path where the html file is saved.

setHtmlBasePath

public void setHtmlBasePath(java.lang.String value)
Sets the physical path where the html file is saved.

Parameters:
value - the physical path where the html file is saved. This path will be used to read relative resources refered by the html file.

getEncoding

public java.lang.String getEncoding()
Gets the name of the character encoding being used.

Returns:
the name of the character encoding being used. null if not specified.

setEncoding

public void setEncoding(java.lang.String encoding)
Sets the name of the character encoding being used. For reading text format template file such as CSV, TAB_DELIMITED, HTML.

Parameters:
encoding - the name of the character encoding being used. null will set the encoding to default.