A Belfast man who allegedly exposed himself in full view of children on a Co Down beach has appeared in court.