Skip to content

Commit 8ddcde7

Browse files
committed
Minor documentation updates
1 parent e8e980a commit 8ddcde7

2 files changed

Lines changed: 780 additions & 779 deletions

File tree

src/javaxt/io/File.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,9 +1433,10 @@ public int hashCode(){
14331433
//**************************************************************************
14341434
//** getContentType
14351435
//**************************************************************************
1436-
/** Returns the mime type associated with the file extension. This method
1437-
* only covers the most common/popular mime types. The returned mime type
1438-
* is NOT authoritative.
1436+
/** Returns the MIME content type associated with the file extension (e.g.
1437+
* "image/png", "text/plain", etc). Defaults to "application/octet-stream"
1438+
* if a matching type is not found. This method covers some the most
1439+
* common/popular mime types. The returned mime type is NOT authoritative.
14391440
*/
14401441
public String getContentType(){
14411442
return getContentType(this.getName());

0 commit comments

Comments
 (0)