Package com.gitlab.pdftk_java
Class pdftk
java.lang.Object
com.gitlab.pdftk_java.pdftk
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final boolean
(package private) static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static boolean
confirm_overwrite
(String filename) (package private) static void
copyStream
(InputStream inputStream, OutputStream outputStream) (package private) static void
(package private) static void
(package private) static void
(package private) static void
(package private) static void
describe_resource
(String resource) (package private) static void
(package private) static OutputStream
get_output_stream
(String output_filename, boolean ask_about_warnings_b) (package private) static OutputStream
get_output_stream_file
(String output_filename, boolean check_overwrite, boolean required) (package private) static PrintStream
get_print_stream
(String output_filename, boolean output_utf8_b) static void
static int
main_noexit
(String[] args) (package private) static String
prompt_for_filename
(String message) (package private) static String
prompt_for_password
(String pass_name, String pass_app) (package private) static byte[]
readAllBytes
(InputStream inputStream) (package private) static void
warn_if_argument_is_password
(String password)
-
Field Details
-
PDFTK_VER
- See Also:
-
ASK_ABOUT_WARNINGS
static final boolean ASK_ABOUT_WARNINGS- See Also:
-
-
Constructor Details
-
pdftk
public pdftk()
-
-
Method Details
-
copyStream
- Throws:
IOException
-
readAllBytes
- Throws:
IOException
-
prompt_for_password
-
warn_if_argument_is_password
-
prompt_for_filename
-
confirm_overwrite
-
get_output_stream
-
get_output_stream_file
static OutputStream get_output_stream_file(String output_filename, boolean check_overwrite, boolean required) -
get_print_stream
static PrintStream get_print_stream(String output_filename, boolean output_utf8_b) throws IOException - Throws:
IOException
-
main
-
main_noexit
-
describe_header
static void describe_header() -
describe_resource
-
describe_synopsis
static void describe_synopsis() -
describe_full
static void describe_full() -
describe_bug_report
static void describe_bug_report() -
describe_missing_library
-