public static Record newRecord ( Name name , int type , int dclass , long ttl ) { if ( ! name . isAbsolute ( ) ) throw new RelativeNameException ( name ) ; Type . check ( type ) ; DClass . check ( dclass ) ; TTL . check ( ttl ) ; return getEmptyRecord ( name , type , dclass , ttl , false ) ; }
Creates a new empty record with the given parameters .