java.lang.Object
com.independentsoft.office.spreadsheet.extensions.AbsolutePath
All Implemented Interfaces:
IExtensionContent

public class AbsolutePath extends Object implements IExtensionContent
Represents the absolute path of the workbook (x15ac:absPath element), stored by Excel 2013 and later inside a markup compatibility block in workbook.xml.
  • Field Details

  • Constructor Details

    • AbsolutePath

      public AbsolutePath()
      Instantiates a new absolute path.
    • AbsolutePath

      public AbsolutePath(String url)
      Instantiates a new absolute path.
      Parameters:
      url - the absolute path of the workbook
    • AbsolutePath

      public AbsolutePath(InternalXMLStreamReader reader)
      Instantiates a new absolute path.

      Reads the attributes only and leaves the reader ON the start element, so the caller's loop advances past it.

      Parameters:
      reader - the reader
  • Method Details

    • clone

      public AbsolutePath clone()
      Description copied from interface: IExtensionContent
      Clone.
      Specified by:
      clone in interface IExtensionContent
      Overrides:
      clone in class Object
      Returns:
      the extension content
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getUrl

      public String getUrl()
      Gets the absolute path of the workbook.
      Returns:
      the url
    • setUrl

      public void setUrl(String url)
      Sets the absolute path of the workbook.
      Parameters:
      url - the new url