com.googlecode.sardine
Class SardineFactory

java.lang.Object
  extended by com.googlecode.sardine.SardineFactory

public class SardineFactory
extends java.lang.Object

The perfect name for a class. Provides the static methods for working with the Sardine interface.

Author:
jonstevens

Constructor Summary
SardineFactory()
           
 
Method Summary
static Sardine begin()
           
static Sardine begin(java.lang.String username, java.lang.String password)
          Pass in a HTTP Auth username/password for being used with all connections
static javax.xml.bind.JAXBContext getContext()
           
static javax.xml.bind.Unmarshaller getUnmarshaller()
           
static void main(java.lang.String[] args)
          for testing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SardineFactory

public SardineFactory()
Method Detail

getContext

public static javax.xml.bind.JAXBContext getContext()
Returns:
the JAXBContext

getUnmarshaller

public static javax.xml.bind.Unmarshaller getUnmarshaller()
Returns:
the JAXB Unmarshaller

begin

public static Sardine begin()

begin

public static Sardine begin(java.lang.String username,
                            java.lang.String password)
Pass in a HTTP Auth username/password for being used with all connections


main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
for testing

Throws:
java.lang.Exception


Copyright © 2010 Jon Stevens and a gang of smelly fish. All Rights Reserved. Build version: 39