private static String just(String src, int length, String fill, boolean ljust) throws IOException {
		if (isStringNullOrEmpty(fill) || length <= src.length()) {
			return src;
		} else {
			StringReader sr = new StringReader(fill);
			StringBuilder sb = new StringBuilder();
			if (ljust) sb.append(src);
			int toFillLen = length - src.length(), read = -1;
			while (toFillLen-- > 0) {
				if ((read = sr.read()) == -1) {
					sr.reset();
					read = sr.read();
				}
				sb.append((char)read);
			}
			if (!ljust) sb.append(src);
			return sb.toString();
		}
	}