code: private static final String getExtension(String fileName) {
  		return fileName.indexOf('.') == -1 ? null : fileName.substring(fileName.lastIndexOf('.') + 1);
  	}
docs: Get the extension of a file.
  
  @param fileName The file name.
  @return The file extension.