@Override
	public int read() throws IOException
	{
		int result = (length == next) ? -1 : string.charAt(next++);
		if (result <= 13)
		{
			switch (result)
			{
				case 13:
					column = 0;
					line++;
					int c = (length == next) ? -1 : string.charAt(next);
					if (c == 10)
					{
						next++;
					}
					return 10;

				case 10:
					column = 0;
					line++;
			}
		}
		return result;
	}