I can't imagine anybody using '風' for 'method' for anything relating to software. It's usually written in either katakana (メソッド), or the mathematical term for function is used instead (関数).
Kind of, although I think that 'in the style of' is a more accurate translation. For example, you might see '日本風のステーキ' for 'Steak, in the Japanese style.'