C# Class DanbooruDownloader3.DAO.DanbooruPostDao

ファイルを表示 Open project: Nandaka/DanbooruDownloader Class Usage Examples

Public Methods

Method Description
DanbooruPostDao ( DanbooruDownloader3.Entity.DanbooruPostDaoOption option ) : System

parse xml/json list file

DanbooruPostDao ( Stream input, DanbooruDownloader3.Entity.DanbooruPostDaoOption option ) : System

parse xml/json list stream and close it.

ParseDateTime ( string dtStr, DanbooruProvider provider ) : System.DateTime
ReadJSON ( string filename ) : void
ReadJSON ( string rawData, DanbooruDownloader3.Entity.DanbooruPostDaoOption option ) : void

Private Methods

Method Description
AppendHttp ( string url ) : string
ParsePostAttributes ( XmlTextReader reader, DanbooruPost post ) : void
ProcessJson ( String json ) : void
ProcessXML ( string rawData ) : void
ReadXML ( string filename ) : void
ReadXML ( string rawData, DanbooruDownloader3.Entity.DanbooruPostDaoOption option ) : void

Method Details

DanbooruPostDao() public method

parse xml/json list file
public DanbooruPostDao ( DanbooruDownloader3.Entity.DanbooruPostDaoOption option ) : System
option DanbooruDownloader3.Entity.DanbooruPostDaoOption
return System

DanbooruPostDao() public method

parse xml/json list stream and close it.
public DanbooruPostDao ( Stream input, DanbooruDownloader3.Entity.DanbooruPostDaoOption option ) : System
input Stream
option DanbooruDownloader3.Entity.DanbooruPostDaoOption
return System

ParseDateTime() public static method

public static ParseDateTime ( string dtStr, DanbooruProvider provider ) : System.DateTime
dtStr string
provider DanbooruDownloader3.Entity.DanbooruProvider
return System.DateTime

ReadJSON() public method

public ReadJSON ( string filename ) : void
filename string
return void

ReadJSON() public method

public ReadJSON ( string rawData, DanbooruDownloader3.Entity.DanbooruPostDaoOption option ) : void
rawData string
option DanbooruDownloader3.Entity.DanbooruPostDaoOption
return void