
org.fit.pdfdom.resource.HtmlResource Maven / Gradle / Ivy
/*
* Copyright (c) Matthew Abboud 2016
*
* Pdf2Dom is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Pdf2Dom is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with CSSBox. If not, see .
*/
package org.fit.pdfdom.resource;
import java.io.IOException;
public abstract class HtmlResource
{
protected String name;
public HtmlResource(String name)
{
this.name = name;
}
public abstract byte[] getData() throws IOException;
public abstract String getFileEnding();
public abstract String getMimeType();
public String getName()
{
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy