w31rd0/ServerAccess — Issue #4: Extract Platform interface
Author: ahitrin
Created: 2012-01-30 13:25:32+00:00
State: open

Hide all platform-specific logic behind interface. For example, such code:

```java
if(Util.isLinux()) {
// do Linux-specific code
} else if(Util.isWindows()) {
// do Windows-specific code
}
```
should be replaced with simple

```java
platform.doSomething();
```
where concrete platform instance is created at start.