projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Return the content type of the found data.
[jFCPlib.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
fcp
/
AllData.java
diff --git
a/src/main/java/net/pterodactylus/fcp/AllData.java
b/src/main/java/net/pterodactylus/fcp/AllData.java
index
ef427b1
..
b997ab4
100644
(file)
--- a/
src/main/java/net/pterodactylus/fcp/AllData.java
+++ b/
src/main/java/net/pterodactylus/fcp/AllData.java
@@
-99,4
+99,13
@@
public class AllData extends BaseMessage implements Identifiable {
return payloadInputStream;
}
+ /**
+ * Returns the content type of the found file.
+ *
+ * @return The content type
+ */
+ public String getContentType() {
+ return getField("Metadata.ContentType");
+ }
+
}