I have got code like this:

```
BufferedReader in = new BufferedReader(new FileReader("C:\file.txt"));
String text = in.readLine();//lets say text is now "asd"

```

Now after that i have got a method:

```
private static void doSomething(Enum word){
    ...
}

```

Is it possible to somehow convert this text into an Enum?