A facile method to fabricate functionally integrated devices for oil/water separation.