Java Doc for PDEmbeddedFile.java in » PDF » PDFBox-0.7.3 » org » pdfbox » pdmodel » common » filespecification » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
PDF
»
PDFBox 0.7.3
»
org.pdfbox.pdmodel.common.filespecification
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.pdfbox.pdmodel.common
.PDStream
org.pdfbox.pdmodel.common.filespecification
.PDEmbeddedFile
PDEmbeddedFile
public
class PDEmbeddedFile extends
PDStream
(Code)
This represents an embedded file in a file specification.
author:
Ben Litchfield
version:
$Revision: 1.2 $
Constructor Summary
public
PDEmbeddedFile
(
PDDocument
document)
Constructor.
public
PDEmbeddedFile
(
COSStream
str)
Constructor.
public
PDEmbeddedFile
(
PDDocument
doc,
InputStream
str)
Constructor.
public
PDEmbeddedFile
(
PDDocument
doc,
InputStream
str, boolean filtered)
Constructor.
Method Summary
public
String
getCheckSum
()
Get the check sum of the embedded file.
public
Calendar
getCreationDate
()
Get the creation date of the embedded file.
public
String
getMacCreator
()
Get the mac Creator.
public
String
getMacResFork
()
Get the mac ResFork.
public
String
getMacSubtype
()
Get the mac subtype.
public
Calendar
getModDate
()
Get the mod date of the embedded file.
public
int
getSize
()
Get the size of the embedded file.
public
String
getSubtype
()
Get the subtype(mimetype) for the embedded file.
public
void
setCheckSum
(
String
checksum)
Set the check sum.
public
void
setCreationDate
(
Calendar
creation)
Set the creation date.
public
void
setMacCreator
(
String
macCreator)
Set the mac Creator.
public
void
setMacResFork
(
String
macResFork)
Set the mac ResFork.
public
void
setMacSubtype
(
String
macSubtype)
Set the mac subtype.
public
void
setModDate
(
Calendar
mod)
Set the mod date.
public
void
setSize
(int size)
Set the size of the embedded file.
public
void
setSubtype
(
String
mimeType)
Set the subtype for this embedded file.
Constructor Detail
PDEmbeddedFile
public
PDEmbeddedFile(
PDDocument
document)
(Code)
Constructor.
Parameters:
document -
PDEmbeddedFile
public
PDEmbeddedFile(
COSStream
str)
(Code)
Constructor.
Parameters:
str - The stream parameter.
PDEmbeddedFile
public
PDEmbeddedFile(
PDDocument
doc,
InputStream
str) throws
IOException
(Code)
Constructor.
Parameters:
doc -
Parameters:
str -
throws:
IOException
-
PDEmbeddedFile
public
PDEmbeddedFile(
PDDocument
doc,
InputStream
str, boolean filtered) throws
IOException
(Code)
Constructor.
Parameters:
doc -
Parameters:
str -
Parameters:
filtered -
throws:
IOException
-
Method Detail
getCheckSum
public
String
getCheckSum()
(Code)
Get the check sum of the embedded file. The check sum of the file.
getCreationDate
public
Calendar
getCreationDate() throws
IOException
(Code)
Get the creation date of the embedded file. The Creation date.
throws:
IOException
- If there is an error while constructing the date.
getMacCreator
public
String
getMacCreator()
(Code)
Get the mac Creator. The mac Creator.
getMacResFork
public
String
getMacResFork()
(Code)
Get the mac ResFork. The mac ResFork.
getMacSubtype
public
String
getMacSubtype()
(Code)
Get the mac subtype. The mac subtype.
getModDate
public
Calendar
getModDate() throws
IOException
(Code)
Get the mod date of the embedded file. The mod date.
throws:
IOException
- If there is an error while constructing the date.
getSize
public
int getSize()
(Code)
Get the size of the embedded file. The size of the embedded file.
getSubtype
public
String
getSubtype()
(Code)
Get the subtype(mimetype) for the embedded file. The type of embedded file.
setCheckSum
public
void setCheckSum(
String
checksum)
(Code)
Set the check sum.
Parameters:
checksum - The checksum of the file.
setCreationDate
public
void setCreationDate(
Calendar
creation)
(Code)
Set the creation date.
Parameters:
creation - The new creation date.
setMacCreator
public
void setMacCreator(
String
macCreator)
(Code)
Set the mac Creator.
Parameters:
macCreator - The mac Creator.
setMacResFork
public
void setMacResFork(
String
macResFork)
(Code)
Set the mac ResFork.
Parameters:
macResFork - The mac ResFork.
setMacSubtype
public
void setMacSubtype(
String
macSubtype)
(Code)
Set the mac subtype.
Parameters:
macSubtype - The mac subtype.
setModDate
public
void setModDate(
Calendar
mod)
(Code)
Set the mod date.
Parameters:
mod - The new creation mod.
setSize
public
void setSize(int size)
(Code)
Set the size of the embedded file.
Parameters:
size - The size of the embedded file.
setSubtype
public
void setSubtype(
String
mimeType)
(Code)
Set the subtype for this embedded file. This should be a mime type value. Optional.
Parameters:
mimeType - The mimeType for the file.
Methods inherited from
org.pdfbox.pdmodel.common.PDStream
public
void addCompression()
(Code)
(Java Doc)
public
static
PDStream
createFromCOS(
COSBase
base) throws
IOException
(Code)
(Java Doc)
public
InputStream
createInputStream() throws
IOException
(Code)
(Java Doc)
public
OutputStream
createOutputStream() throws
IOException
(Code)
(Java Doc)
public
byte[] getByteArray() throws
IOException
(Code)
(Java Doc)
public
COSBase
getCOSObject()
(Code)
(Java Doc)
public
List
getDecodeParams() throws
IOException
(Code)
(Java Doc)
public
PDFileSpecification
getFile() throws
IOException
(Code)
(Java Doc)
public
List
getFileDecodeParams() throws
IOException
(Code)
(Java Doc)
public
List
getFileFilters()
(Code)
(Java Doc)
public
List
getFilters()
(Code)
(Java Doc)
public
String
getInputStreamAsString() throws
IOException
(Code)
(Java Doc)
public
int getLength()
(Code)
(Java Doc)
public
PDMetadata
getMetadata()
(Code)
(Java Doc)
public
InputStream
getPartiallyFilteredStream(
List
stopFilters) throws
IOException
(Code)
(Java Doc)
public
COSStream
getStream()
(Code)
(Java Doc)
public
void setDecodeParams(
List
decodeParams)
(Code)
(Java Doc)
public
void setFile(
PDFileSpecification
f)
(Code)
(Java Doc)
public
void setFileDecodeParams(
List
decodeParams)
(Code)
(Java Doc)
public
void setFileFilters(
List
filters)
(Code)
(Java Doc)
public
void setFilters(
List
filters)
(Code)
(Java Doc)
public
void setMetadata(
PDMetadata
meta)
(Code)
(Java Doc)
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.