Source_Code/myinterpreter/BackEnd.java
//This method provides the proper input to the OutputGenerator class
This method provides the proper input to the OutputGenerator class
This method provides the proper input to the OutputGenerator class
public String processor(String givenString)
		{
		if(givenString.length()!=0)
			{
			try
				{
				boolean validation = inputValidation(givenString);
				String inputWithoutSpaces=new String();
				inputWithoutSpaces=inputWOSpaces(givenString);
				return ogObject.splitString(inputWithoutSpaces);
				}
			catch(ICException E1)
				{
				return E1.Message();
				}
			catch(PException E1)
				{
				return E1.Message();
				}
			catch(NVException E1)
				{
				return E1.Message();
				}
			catch(DZException E1)
				{
				return E1.Message();
				}
			catch(CNTASGNException E1)
				{
				return E1.Message();
				}
			catch(IVSTException E1)
				{
				return E1.Message();
				}
			}
		return givenString;
		}
public String processor ( String givenString ) { if ( givenString . length ( ) != 0 ) { try { boolean validation = inputValidation ( givenString ) ; String inputWithoutSpaces = new String ( ) ; inputWithoutSpaces = inputWOSpaces ( givenString ) ; return ogObject . splitString ( inputWithoutSpaces ) ; } catch ( ICException E1 ) { return E1 . Message ( ) ; } catch ( PException E1 ) { return E1 . Message ( ) ; } catch ( NVException E1 ) { return E1 . Message ( ) ; } catch ( DZException E1 ) { return E1 . Message ( ) ; } catch ( CNTASGNException E1 ) { return E1 . Message ( ) ; } catch ( IVSTException E1 ) { return E1 . Message ( ) ; } } return givenString ; }
This method provides the proper input to the OutputGenerator class
This method provides the proper input to the OutputGenerator class