Class GSWorksheet

    • Constructor Detail

      • GSWorksheet

        public GSWorksheet​(GSModel model,
                           com.google.gdata.data.spreadsheet.WorksheetEntry worksheetEntry,
                           boolean existsInSpreadsheet)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • writeHeaderCell

        public void writeHeaderCell​(int columnIndex,
                                    java.lang.String columnName)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • delete

        public void delete()
                    throws java.lang.Exception
        Deletes this worksheet from the containing spreadsheet.
        Throws:
        java.io.IOException
        com.google.gdata.util.ServiceException
        java.lang.Exception
      • getDefaultEmptyCellValue

        public java.lang.String getDefaultEmptyCellValue()
        Description copied from class: SpreadsheetWorksheet
        This method returns the default value to be written to a cell when a new empty row is created in a worksheet that is not enforcing data type strictness.
        Specified by:
        getDefaultEmptyCellValue in class SpreadsheetWorksheet
        Returns:
        String
      • getColumnOffset

        public int getColumnOffset()
      • getListFeedURL

        public java.net.URL getListFeedURL()
                                    throws java.io.IOException,
                                           com.google.gdata.util.ServiceException
        Returns the List Feed URL for working with this worksheet.
        Returns:
        URL
        Throws:
        com.google.gdata.util.ServiceException
        java.io.IOException
      • getRowIndex

        public int getRowIndex​(GSRow row)
      • getListEntry

        public com.google.gdata.data.spreadsheet.ListEntry getListEntry​(GSRow row)
                                                                 throws java.io.IOException,
                                                                        com.google.gdata.util.ServiceException
        Throws:
        java.io.IOException
        com.google.gdata.util.ServiceException
      • getSelf

        public void getSelf()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception