public static ResourceList < Application > list ( final BandwidthClient client , final int page , final int size ) throws IOException { final String applicationUri = client . getUserResourceUri ( BandwidthConstants . APPLICATIONS_URI_PATH ) ; final ResourceList < Application > applications = new ResourceList < Application > ( page , size , applicationUri , Application . class ) ; applications . setClient ( client ) ; applications . initialize ( ) ; return applications ; }
Factory method for Application list . Returns a list of Application object with page and size preferences Allow different Client implementaitons