C# 클래스 nl.siegmann.epublib.epub.EpubWriter

Generates an epub file. Not thread-safe, single use object.
파일 보기 프로젝트 열기: lanfengqi/EpubLib-Sharp

공개 메소드들

메소드 설명
EpubWriter ( ) : System
EpubWriter ( BookProcessor bookProcessor ) : System
getBookProcessor ( ) : BookProcessor
setBookProcessor ( BookProcessor bookProcessor ) : void
write ( Book book, Stream stream ) : void

비공개 메소드들

메소드 설명
calculateCrc ( byte data ) : long
getNcxHref ( ) : String
getNcxId ( ) : String
getNcxMediaType ( ) : String
initTOCResource ( Book book ) : void
processBook ( Book book ) : Book
writeContainer ( ZipOutputStream resultStream ) : void

Writes the META-INF/container.xml file.

writeMimeType ( ZipOutputStream resultStream ) : void

Stores the mimetype as an uncompressed file in the ZipOutputStream.

writePackageDocument ( Book book, ZipOutputStream resultStream ) : void
writeResource ( Resource resource, ZipOutputStream resultStream ) : void

Writes the resource to the resultStream.

writeResources ( Book book, ZipOutputStream resultStream ) : void

메소드 상세

EpubWriter() 공개 메소드

public EpubWriter ( ) : System
리턴 System

EpubWriter() 공개 메소드

public EpubWriter ( BookProcessor bookProcessor ) : System
bookProcessor BookProcessor
리턴 System

getBookProcessor() 공개 메소드

public getBookProcessor ( ) : BookProcessor
리턴 BookProcessor

setBookProcessor() 공개 메소드

public setBookProcessor ( BookProcessor bookProcessor ) : void
bookProcessor BookProcessor
리턴 void

write() 공개 메소드

public write ( Book book, Stream stream ) : void
book nl.siegmann.epublib.domain.Book
stream Stream
리턴 void