Logo Search packages:      
Sourcecode: f-spot version File versions

FlickrNet::Utils Class Reference

List of all members.


Detailed Description

Internal class providing certain utility functions to other classes.

Definition at line 13 of file Utils.cs.


Static Private Member Functions

static internal long DateToUnixTimestamp (DateTime date)
 Converts a DateTime object into a unix timestamp number.
static internal object Deserialize (System.Xml.XmlNode node, Type type)
static internal Response Deserialize (string responseString)
 Converts the response string (in XML) into the Response object.
static internal string ExtrasToString (PhotoSearchExtras extras)
 Utility method to convert the PhotoSearchExtras enum to a string.
static XmlSerializer GetSerializer (Type type)
static internal void PartialOptionsIntoArray (PartialSearchOptions options, Hashtable parameters)
static internal string ReadAsciiString (Stream s)
static internal int ReadInt32 (Stream s)
static internal string ReadString (Stream s)
static internal string SortOrderToString (PhotoSearchSortOrder order)
static internal DateTime UnixTimestampToDate (long timestamp)
 Converts a long, representing a unix timestamp number into a DateTime object.
static internal DateTime UnixTimestampToDate (string timestamp)
 Converts a string, representing a unix timestamp number into a DateTime object.
static internal string UrlEncode (string oldString)
static string UrlFormat (string format, params object[] parameters)
static internal string UrlFormat (Photoset p, string size, string format)
static internal string UrlFormat (PhotoInfo p, string size, string format)
static internal string UrlFormat (Photo p, string size, string format)
static internal void WriteAsciiString (Stream s, string str)
static internal void WriteInt32 (Stream s, int i)
static internal void WriteString (Stream s, string str)

Private Attributes

const string photoUrl = "http://farm{0}.static.flickr.com/{1}/{2}_{3}{4}.{5}"

Static Private Attributes

static readonly Hashtable _serializers = new Hashtable()
static readonly DateTime unixStartDate = new DateTime(1970, 1, 1, 0, 0, 0)

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index