(String filename)
| 2909 | } |
| 2910 | |
| 2911 | static String getExtension(String filename) { |
| 2912 | if (filename == null) |
| 2913 | return null; |
| 2914 | int index = filename.lastIndexOf("."); |
| 2915 | if (index < 0) |
| 2916 | return null; |
| 2917 | return filename.substring(index + 1); |
| 2918 | } |
| 2919 | |
| 2920 | static String guessMimeType(String filename) { |
| 2921 | String type = null; |
no outgoing calls
no test coverage detected