PageRenderTime 303ms CodeModel.GetById 111ms app.highlight 1ms RepoModel.GetById 140ms app.codeStats 0ms

/src/mpv5/utils/print/Printable.java

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
Java | 41 lines | 7 code | 6 blank | 28 comment | 0 complexity | 1f5909e1fce95375db562e46ae992842 MD5 | raw file
 1/*
 2 *  This file is part of YaBS.
 3 *
 4 *  YaBS is free software: you can redistribute it and/or modify
 5 *  it under the terms of the GNU General Public License as published by
 6 *  the Free Software Foundation, either version 3 of the License, or
 7 *  (at your option) any later version.
 8 *
 9 *  YaBS is distributed in the hope that it will be useful,
10 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 *  GNU General Public License for more details.
13 *
14 *  You should have received a copy of the GNU General Public License
15 *  along with YaBS.  If not, see <http://www.gnu.org/licenses/>.
16 */
17package mpv5.utils.print;
18
19import java.io.File;
20import javax.print.DocFlavor;
21
22/**
23 *
24 * 
25 */
26public interface Printable {
27
28    /**
29     *
30     * @return The document's flavour
31     */
32    public DocFlavor getFlavor();
33
34
35    /**
36     *
37     * @return The file representing this document
38     */
39    public File getFile();
40
41}