public class PoParser extends Object
Modifier and Type | Method and Description |
---|---|
Catalog |
parseCatalog(File file) |
Catalog |
parseCatalog(InputStream inputStream,
boolean isPot) |
Catalog |
parseCatalog(InputStream inputStream,
Charset charset,
boolean isPot) |
Catalog |
parseCatalog(Reader reader,
boolean isPot) |
Message |
parseMessage(File file) |
Message |
parseMessage(InputStream inputStream) |
Message |
parseMessage(InputStream inputStream,
Charset charset) |
Message |
parseMessage(Reader reader) |
public PoParser()
public PoParser(Catalog catalog)
public Catalog parseCatalog(File file) throws FileNotFoundException, IOException, ParseException
public Catalog parseCatalog(Reader reader, boolean isPot) throws ParseException
ParseException
public Catalog parseCatalog(InputStream inputStream, boolean isPot) throws ParseException, IOException
ParseException
IOException
public Catalog parseCatalog(InputStream inputStream, Charset charset, boolean isPot) throws ParseException
ParseException
public Message parseMessage(File file) throws FileNotFoundException, IOException, ParseException
public Message parseMessage(Reader reader) throws ParseException
ParseException
public Message parseMessage(InputStream inputStream) throws ParseException, IOException
ParseException
IOException
public Message parseMessage(InputStream inputStream, Charset charset) throws ParseException
ParseException
Copyright © 2007–2016 JBoss, a division of Red Hat, Inc. All rights reserved.