Class GSModel

    • Constructor Detail

      • GSModel

        public GSModel()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setSpreadsheetName

        public void setSpreadsheetName​(java.lang.String name)
      • setUsername

        public void setUsername​(java.lang.String username)
      • setPassword

        public void setPassword​(java.lang.String password)
      • setConfigurationFile

        public void setConfigurationFile​(java.lang.String configurationFilePath)
                                  throws javax.xml.parsers.ParserConfigurationException,
                                         org.xml.sax.SAXException,
                                         java.io.IOException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
        java.io.IOException
      • getWorksheetListFeed

        public com.google.gdata.data.spreadsheet.ListFeed getWorksheetListFeed​(java.net.URL listFeedUrl)
                                                                        throws java.io.IOException,
                                                                               com.google.gdata.util.ServiceException
        Throws:
        java.io.IOException
        com.google.gdata.util.ServiceException
      • getWorksheetCellFeed

        public com.google.gdata.data.spreadsheet.CellFeed getWorksheetCellFeed​(java.net.URL cellFeedUrl)
                                                                        throws java.io.IOException,
                                                                               com.google.gdata.util.ServiceException
        Throws:
        java.io.IOException
        com.google.gdata.util.ServiceException
      • insertWorksheet

        public com.google.gdata.data.spreadsheet.WorksheetEntry insertWorksheet​(com.google.gdata.data.spreadsheet.WorksheetEntry worksheetEntry)
                                                                         throws java.io.IOException,
                                                                                com.google.gdata.util.ServiceException
        Throws:
        java.io.IOException
        com.google.gdata.util.ServiceException
      • insertRow

        public com.google.gdata.data.spreadsheet.ListEntry insertRow​(com.google.gdata.data.spreadsheet.WorksheetEntry worksheetEntry,
                                                                     com.google.gdata.data.spreadsheet.ListEntry row)
                                                              throws java.io.IOException,
                                                                     com.google.gdata.util.ServiceException
        Throws:
        java.io.IOException
        com.google.gdata.util.ServiceException
      • loadSpreadsheet

        protected void loadSpreadsheet()
                                throws java.lang.Exception
        Description copied from class: SpreadsheetModel
        The purpose of this method is to load the spreadsheet.
        Specified by:
        loadSpreadsheet in class SpreadsheetModel
        Throws:
        java.lang.Exception