York man sent to jail for resisting and meth possession