C# Class nl.siegmann.epublib.util.ResourceUtil

Various resource utility methods
Mostrar archivo Open project: lanfengqi/EpubLib-Sharp

Public Methods

Method Description
Dispose ( ) : void
createResource ( String title, String href ) : Resource

Creates a resource with as contents a html page with the given title.

createResource ( ZipEntry zipEntry, ZipInputStream zipInputStream ) : Resource

Creates a resource out of the given zipEntry and zipInputStream.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

createResource() public static method

Creates a resource with as contents a html page with the given title.
public static createResource ( String title, String href ) : Resource
title String
href String
return nl.siegmann.epublib.domain.Resource

createResource() public static method

Creates a resource out of the given zipEntry and zipInputStream.
public static createResource ( ZipEntry zipEntry, ZipInputStream zipInputStream ) : Resource
zipEntry Ionic.Zip.ZipEntry
zipInputStream Ionic.Zip.ZipInputStream
return nl.siegmann.epublib.domain.Resource