Type: Posts; User: Norm
Go read the API doc for the classes and methods you trying to use. The posted code does not compile.