Here you can find the source of getYear(String[] contents)
public static String getYear(String[] contents)
//package com.java2s; //License from project: Open Source License public class Main { public static String getYear(String[] contents) { return contents[0]; }/* w ww. ja v a 2s .co m*/ }